Signed-off-by: Derek Buitenhuis <[email protected]>
---
libavcodec/fic.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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;
}
--
1.9.2
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel