diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-01-03 17:01:24 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-01-06 12:16:06 +0100 |
commit | ed14b7242ae51d74a64eed7687c8680f7882548b (patch) | |
tree | 82cbf011e48833e53809afe41ab2fe0f67fb3b56 /libavcodec/timecode.c | |
parent | c5f4abf698f6a52db2eb7a27c7560fc0f8a33b5f (diff) | |
download | ffmpeg-ed14b7242ae51d74a64eed7687c8680f7882548b.tar.gz |
timecode: more tolerant frame rate check for drop flag.
This fixes some timecode probing in MOV.
Diffstat (limited to 'libavcodec/timecode.c')
-rw-r--r-- | libavcodec/timecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/timecode.c b/libavcodec/timecode.c index 00b40b7bcf..420b276c20 100644 --- a/libavcodec/timecode.c +++ b/libavcodec/timecode.c @@ -64,7 +64,7 @@ int avpriv_check_timecode_rate(void *avcl, AVRational rate, int drop) return -1; } fps = (rate.num + rate.den/2) / rate.den; - if (drop && (rate.den != 1001 || fps != 30)) { + if (drop && fps != 30) { av_log(avcl, AV_LOG_ERROR, "Drop frame is only allowed with 30000/1001 FPS\n"); return -2; } |