[FFmpeg-cvslog] avcodec/msrledec: More verbose error message
Michael Niedermayer
git at videolan.org
Tue Mar 24 16:09:36 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 24 15:53:24 2015 +0100| [c20eab5c850f535b0892db6c6166faffe9683979] | committer: Michael Niedermayer
avcodec/msrledec: More verbose error message
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c20eab5c850f535b0892db6c6166faffe9683979
---
libavcodec/msrledec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/msrledec.c b/libavcodec/msrledec.c
index deb6f86..c738198 100644
--- a/libavcodec/msrledec.c
+++ b/libavcodec/msrledec.c
@@ -97,7 +97,7 @@ static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic,
// decode a run of data
if (pixel_ptr + rle_code > avctx->width + 1) {
av_log(avctx, AV_LOG_ERROR,
- "MS RLE: frame ptr just went out of bounds (run)\n");
+ "MS RLE: frame ptr just went out of bounds (run) %d %d %d\n", pixel_ptr, rle_code, avctx->width);
return AVERROR_INVALIDDATA;
}
stream_byte = bytestream2_get_byte(gb);
More information about the ffmpeg-cvslog
mailing list