Commit f12c7ad8 authored by JULIAN GARDNER's avatar JULIAN GARDNER Committed by Michael Niedermayer

dvbsubdec: fix buf ptr in dvbsub_parse_region_segment()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e0f4f9d
......@@ -1058,9 +1058,10 @@ static void dvbsub_parse_region_segment(AVCodecContext *avctx,
}
region->clut = *buf++;
if (region->depth == 8)
if (region->depth == 8) {
region->bgcolor = *buf++;
else {
buf += 1;
} else {
buf += 1;
if (region->depth == 4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment