avformat/utils: Fix number suffixes in tb_unreliable()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit4b15bba2ae
) Conflicts: libavformat/utils.c (cherry picked from commite651a2f88c
)
This commit is contained in:
@@ -2652,8 +2652,8 @@ static int get_std_framerate(int i){
|
|||||||
* And there are "variable" fps files this needs to detect as well.
|
* And there are "variable" fps files this needs to detect as well.
|
||||||
*/
|
*/
|
||||||
static int tb_unreliable(AVCodecContext *c){
|
static int tb_unreliable(AVCodecContext *c){
|
||||||
if( c->time_base.den >= 101L*c->time_base.num
|
if( c->time_base.den >= 101LL*c->time_base.num
|
||||||
|| c->time_base.den < 5L*c->time_base.num
|
|| c->time_base.den < 5LL*c->time_base.num
|
||||||
/* || c->codec_tag == AV_RL32("DIVX")
|
/* || c->codec_tag == AV_RL32("DIVX")
|
||||||
|| c->codec_tag == AV_RL32("XVID")*/
|
|| c->codec_tag == AV_RL32("XVID")*/
|
||||||
|| c->codec_tag == AV_RL32("mp4v")
|
|| c->codec_tag == AV_RL32("mp4v")
|
||||||
|
Reference in New Issue
Block a user