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:
168a5d3
)
dvbsubdec: handle mode change page state
author
JULIAN GARDNER
<joolzg@btinternet.com>
Fri, 14 Oct 2011 14:33:34 +0000
(16:33 +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
2e9ef12
..
25552be
100644
(file)
--- a/
libavcodec/dvbsubdec.c
+++ b/
libavcodec/dvbsubdec.c
@@
-1136,7
+1136,7
@@
static void dvbsub_parse_page_segment(AVCodecContext *avctx,
av_dlog(avctx, "Page time out %ds, state %d\n", ctx->time_out, page_state);
- if (page_state == 2) {
+ if (page_state ==
1 || page_state ==
2) {
delete_regions(ctx);
delete_objects(ctx);
delete_cluts(ctx);