Quiet 64-bit to 32-bit warning.
Revert this if it causes problems with ffmpeg.
This commit is contained in:
@@ -46,7 +46,7 @@ typedef struct AVRational{
|
|||||||
static inline int av_cmp_q(AVRational a, AVRational b){
|
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;
|
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;
|
else return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user