[vlc-commits] codec: cea708: remove useless check
Francois Cartegnie
git at videolan.org
Tue Feb 11 10:33:14 CET 2020
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Oct 2 19:06:09 2018 +0200| [4bb6dcd2a9009c8ac3b64f82e5e2609ffc03f398] | committer: Francois Cartegnie
codec: cea708: remove useless check
(cherry picked from commit 0d81cd6aa94cd7b88046f848f12f85002e13642c)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4bb6dcd2a9009c8ac3b64f82e5e2609ffc03f398
---
modules/codec/cea708.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/codec/cea708.c b/modules/codec/cea708.c
index db03d44b81..d4ecceda41 100644
--- a/modules/codec/cea708.c
+++ b/modules/codec/cea708.c
@@ -87,8 +87,6 @@ static void CEA708_DTVCC_Demux_ServiceBlocks( cea708_demux_t *h, mtime_t i_start
}
else if( i_sid == 0x07 )
{
- if( i_data < 2 )
- return;
i_sid = p_data[1] & 0x3F;
if( i_sid < 0x07 )
return;
More information about the vlc-commits
mailing list