diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-17 14:30:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-17 14:39:43 +0200 |
commit | b6c9266722d7732784930bb5728986e022257958 (patch) | |
tree | 29452deabc6109b093390a5786fd89f0238bd886 /libavcodec | |
parent | afe23e430e2d45909ced427aa35c1b555d2aee60 (diff) | |
download | ffmpeg-b6c9266722d7732784930bb5728986e022257958.tar.gz |
avcodec/rpza: fix +- error
Fixes Ticket3471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/rpza.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index 9509d306c8..23e2a75d9d 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -94,11 +94,11 @@ static void rpza_decode_stream(RpzaContext *s) chunk_size = bytestream2_get_be32(&s->gb) & 0x00FFFFFF; /* If length mismatch use size from MOV file and try to decode anyway */ - if (chunk_size != bytestream2_get_bytes_left(&s->gb) - 4) + if (chunk_size != bytestream2_get_bytes_left(&s->gb) + 4) av_log(s->avctx, AV_LOG_WARNING, "MOV chunk size %d != encoded chunk size %d\n", chunk_size, - bytestream2_get_bytes_left(&s->gb) - 4 + bytestream2_get_bytes_left(&s->gb) + 4 ); /* Number of 4x4 blocks in frame. */ |