dvbsubdec: handle mode change page state

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
JULIAN GARDNER 2011-10-14 16:33:34 +02:00 committed by Michael Niedermayer
parent 168a5d3b3c
commit 1fc7b0ed5a
1 changed files with 1 additions and 1 deletions

View File

@ -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);