From 66ae1569e9d0a70848dc0f65f7e366473586edcf Mon Sep 17 00:00:00 2001 From: yan yan Date: Wed, 03 Jan 2018 12:39:08 +0000 Subject: DTVCC: fix top->bottom print error PD# 154387 Change-Id: If89bd330afcebdf8c8e164413d73583d90ededb8 --- diff --git a/src/dtvcc.c b/src/dtvcc.c index f673378..cb1eea8 100644 --- a/src/dtvcc.c +++ b/src/dtvcc.c @@ -2547,18 +2547,21 @@ dtvcc_put_char (struct dtvcc_decoder * dc, if (!cc_timestamp_isset (&dw->timestamp_c0)) dw->timestamp_c0 = ds->timestamp; column--; + break; case DIR_TOP_BOTTOM: dw->streamed &= ~(1 << column); if (!cc_timestamp_isset (&dw->timestamp_c0)) dw->timestamp_c0 = ds->timestamp; ++row; + break; case DIR_BOTTOM_TOP: dw->streamed &= ~(1 << column); if (!cc_timestamp_isset (&dw->timestamp_c0)) dw->timestamp_c0 = ds->timestamp; row--; + break; } dw->curr_row = row; -- cgit