From 50d878d9303dc50861747f79b13f41d40bcf5f63 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 14 May 2015 01:15:20 +0200 Subject: [PATCH] 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 --- libavcodec/msrledec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/msrledec.c b/libavcodec/msrledec.c index 9d05bc8fc5..3aa5e3ceb9 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;