diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-28 15:14:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-28 15:20:38 +0200 |
commit | 4394f82f52583dc1d781d29dcb3f2a8dac73f3f6 (patch) | |
tree | 04b9bebc0a54b3ef9eac0bcac8d96def3d8b5fe6 /libavformat/utils.c | |
parent | 18af0ce62da322176f7bd283b85314d2f41bee2c (diff) | |
download | ffmpeg-4394f82f52583dc1d781d29dcb3f2a8dac73f3f6.tar.gz |
avformat/utils: add gif to tb_unreliable()
This improves the used timebases when gif is the source
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 06d92dcf25..a5310383c8 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2868,6 +2868,7 @@ static int tb_unreliable(AVCodecContext *c) // c->codec_tag == AV_RL32("XVID") || c->codec_tag == AV_RL32("mp4v") || c->codec_id == AV_CODEC_ID_MPEG2VIDEO || + c->codec_id == AV_CODEC_ID_GIF || c->codec_id == AV_CODEC_ID_H264) return 1; return 0; |