[FFmpeg-cvslog] avcodec/msrledec: Ask for sample that uses a branch with a unused byte

Michael Niedermayer git at videolan.org
Thu May 14 01:34:57 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 14 01:15:20 2015 +0200| [50d878d9303dc50861747f79b13f41d40bcf5f63] | committer: Michael Niedermayer

avcodec/msrledec: Ask for sample that uses a branch with a unused byte

Finding out if this is correct or buggy is easiest with a sample

Fixes: CID1297620

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50d878d9303dc50861747f79b13f41d40bcf5f63
---

 libavcodec/msrledec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/msrledec.c b/libavcodec/msrledec.c
index 9d05bc8..3aa5e3c 100644
--- a/libavcodec/msrledec.c
+++ b/libavcodec/msrledec.c
@@ -63,6 +63,7 @@ static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic,
                 stream_byte = bytestream2_get_byte(gb);
                 pixel_ptr += stream_byte;
                 stream_byte = bytestream2_get_byte(gb);
+                avpriv_request_sample(avctx, "Unused stream byte %X", stream_byte);
             } else {
                 // copy pixels from encoded stream
                 odd_pixel =  stream_byte & 1;



More information about the ffmpeg-cvslog mailing list