Quiet 64-bit to 32-bit warning.

Revert this if it causes problems with ffmpeg.
This commit is contained in:
Jason Felds
2011-02-18 17:08:46 -05:00
parent 977b4857fb
commit bcac26f0d2
+1 -1
View File
@@ -46,7 +46,7 @@ typedef struct AVRational{
static inline int av_cmp_q(AVRational a, AVRational b){
const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den;
if(tmp) return (tmp>>63)|1;
if(tmp) return (int)((tmp>>63)|1);
else return 0;
}