From: Aman Gupta <a...@tmm1.net> --- libavcodec/ccaption_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c index 9f17e77..5d4c568 100644 --- a/libavcodec/ccaption_dec.c +++ b/libavcodec/ccaption_dec.c @@ -399,9 +399,9 @@ static void handle_erase(CCaptionSubContext *ctx, int n_screen) static void handle_eoc(CCaptionSubContext *ctx) { - reap_screen(ctx); ctx->active_screen = !ctx->active_screen; ctx->cursor_column = 0; + reap_screen(ctx); } static void handle_delete_end_of_row(CCaptionSubContext *ctx, char hi, char lo) -- 2.5.3 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel