mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
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@gmx.at>
This commit is contained in:
parent
22f15f5735
commit
50d878d930
@ -63,6 +63,7 @@ static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic,
|
|||||||
stream_byte = bytestream2_get_byte(gb);
|
stream_byte = bytestream2_get_byte(gb);
|
||||||
pixel_ptr += stream_byte;
|
pixel_ptr += stream_byte;
|
||||||
stream_byte = bytestream2_get_byte(gb);
|
stream_byte = bytestream2_get_byte(gb);
|
||||||
|
avpriv_request_sample(avctx, "Unused stream byte %X", stream_byte);
|
||||||
} else {
|
} else {
|
||||||
// copy pixels from encoded stream
|
// copy pixels from encoded stream
|
||||||
odd_pixel = stream_byte & 1;
|
odd_pixel = stream_byte & 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user