summaryrefslogtreecommitdiff
path: root/libavcodec/rpza.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-17 14:30:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-17 14:30:06 +0200
commitafe23e430e2d45909ced427aa35c1b555d2aee60 (patch)
treec5f293669ea41168afa7c5c4850417cc6dfbdbe9 /libavcodec/rpza.c
parentcabcd8ff66ef2435e0c99b6e2e8190e72c8c9a96 (diff)
downloadffmpeg-afe23e430e2d45909ced427aa35c1b555d2aee60.tar.gz
vcodec/rpza: print mismatching size in case of error
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rpza.c')
-rw-r--r--libavcodec/rpza.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c
index aac437e41c..9509d306c8 100644
--- a/libavcodec/rpza.c
+++ b/libavcodec/rpza.c
@@ -95,7 +95,11 @@ static void rpza_decode_stream(RpzaContext *s)
/* If length mismatch use size from MOV file and try to decode anyway */
if (chunk_size != bytestream2_get_bytes_left(&s->gb) - 4)
- av_log(s->avctx, AV_LOG_WARNING, "MOV chunk size != encoded chunk size\n");
+ 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
+ );
/* Number of 4x4 blocks in frame. */
total_blocks = ((s->avctx->width + 3) / 4) * ((s->avctx->height + 3) / 4);