This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
dvbsubdec: fix buf ptr in dvbsub_parse_region_segment()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
JULIAN GARDNER
Michael Niedermayer
14 years ago
parent
7e0f4f9d0f
commit
f12c7ad86d
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
libavcodec/dvbsubdec.c
+ 3
- 2
libavcodec/dvbsubdec.c
View File
@@ -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)
Write
Preview
Loading…
Cancel
Save