summaryrefslogtreecommitdiff
authorPengfei Liu <pengfei.liu@amlogic.com>2017-07-04 06:04:54 (GMT)
committer Pengfei Liu <pengfei.liu@amlogic.com>2017-07-04 06:04:54 (GMT)
commite2c3bbd2200caea5a2f32c9589f8cc4408dc8675 (patch)
tree206bdbb9b290c6e2317823525f3b4e195f49494f
parent17e543666fadf3322f38437a317615c531ea70d1 (diff)
downloadlibzvbi-e2c3bbd2200caea5a2f32c9589f8cc4408dc8675.zip
libzvbi-e2c3bbd2200caea5a2f32c9589f8cc4408dc8675.tar.gz
libzvbi-e2c3bbd2200caea5a2f32c9589f8cc4408dc8675.tar.bz2
PD#146916: the max column count should be 41
Diffstat
-rwxr-xr-xsrc/dtvcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dtvcc.c b/src/dtvcc.c
index 33f8d0a..64ec5a9 100755
--- a/src/dtvcc.c
+++ b/src/dtvcc.c
@@ -2759,7 +2759,7 @@ dtvcc_define_window (struct dtvcc_decoder * dc,
column_count_m1 = buf[5];
/* We also check the top two zero bits. */
- if (unlikely (column_count_m1 >= 41)) {
+ if (unlikely (column_count_m1 >= 42)) {
ds->error_line = __LINE__;
return FALSE;
}