[SCM] libav/experimental: fic: Make warning message more accurate
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:02:56 UTC 2014
The following commit has been merged in the experimental branch:
commit d7eb8f903338048c0b222d92357d67f5d3b54295
Author: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Date: Wed Apr 23 17:53:00 2014 +0100
fic: Make warning message more accurate
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
diff --git a/libavcodec/fic.c b/libavcodec/fic.c
index 45f56b9..8512ef3 100644
--- a/libavcodec/fic.c
+++ b/libavcodec/fic.c
@@ -296,7 +296,9 @@ static int fic_decode_frame(AVCodecContext *avctx, void *data,
/* Skip cursor data. */
tsize = AV_RB24(src + 24);
if (tsize > avpkt->size - FIC_HEADER_SIZE) {
- av_log(avctx, AV_LOG_ERROR, "Invalid cursor data size.\n");
+ av_log(avctx, AV_LOG_ERROR,
+ "Packet is too small to contain cursor (%d vs %d bytes).\n",
+ tsize, avpkt->size - FIC_HEADER_SIZE);
return AVERROR_INVALIDDATA;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list