diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-12 18:40:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-12 18:40:16 +0200 |
commit | 70e022cfc5e364f6d210697bf0eb267e8289bd4d (patch) | |
tree | 9e4bb0038f9180d3359312b02535e4f261af682c /libavformat/idcin.c | |
parent | 171af59d58fc67d82dce8ff7ed11fa671108baa5 (diff) | |
download | ffmpeg-70e022cfc5e364f6d210697bf0eb267e8289bd4d.tar.gz |
avformat/idcin: Remove redundant chunk size check
Fixes CID1138438
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/idcin.c')
-rw-r--r-- | libavformat/idcin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/idcin.c b/libavformat/idcin.c index 4e455bfcee..61a27244b0 100644 --- a/libavformat/idcin.c +++ b/libavformat/idcin.c @@ -307,8 +307,6 @@ static int idcin_read_packet(AVFormatContext *s, } /* skip the number of decoded bytes (always equal to width * height) */ avio_skip(pb, 4); - if (chunk_size < 4) - return AVERROR_INVALIDDATA; chunk_size -= 4; ret= av_get_packet(pb, pkt, chunk_size); if (ret < 0) |