diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-05-21 02:05:13 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-05-21 02:05:13 +0300 |
commit | 209e91cbc4e1c4feaa3b7c2671b864b77874eff8 (patch) | |
tree | bb06bcaf38f46490f4a33c24373ef1a5420f629a /libavcodec/qdrw.c | |
parent | 4fb3efd2c17c419cb7a170e5438b35453ceaaf30 (diff) |
lavc/qdrw: Do not fail decoding valid Quickdraw images.
Diffstat (limited to 'libavcodec/qdrw.c')
-rw-r--r-- | libavcodec/qdrw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 0bcf5dca22..838f836516 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -153,7 +153,6 @@ static int decode_frame(AVCodecContext *avctx, bytestream2_init(&gbc, avpkt->data, avpkt->size); if ( bytestream2_get_bytes_left(&gbc) >= 552 - && !check_header(gbc.buffer , bytestream2_get_bytes_left(&gbc)) && check_header(gbc.buffer + 512, bytestream2_get_bytes_left(&gbc) - 512) ) bytestream2_skip(&gbc, 512); |