OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e0f4f9
)
dvbsubdec: fix buf ptr in dvbsub_parse_region_segment()
author
JULIAN GARDNER
<joolzg@btinternet.com>
Fri, 14 Oct 2011 14:08:06 +0000
(16:08 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 14 Oct 2011 18:19:59 +0000
(20:19 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dvbsubdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dvbsubdec.c
b/libavcodec/dvbsubdec.c
index
5f95353
..
7a3e481
100644
(file)
--- a/
libavcodec/dvbsubdec.c
+++ b/
libavcodec/dvbsubdec.c
@@
-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)