[vlc-commits] codec: cc: transmit 708 cc_data when extracting, even if we don' t have 708 decoder
Rafaël Carré
git at videolan.org
Fri Sep 23 15:50:06 CEST 2016
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 30 11:58:14 2012 -0400| [1c1c12a7da3b92ff71106f7a99b8d40ed5e2cb8d] | committer: Francois Cartegnie
codec: cc: transmit 708 cc_data when extracting, even if we don't have 708 decoder
Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c1c12a7da3b92ff71106f7a99b8d40ed5e2cb8d
---
modules/codec/cc.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/codec/cc.h b/modules/codec/cc.h
index 24d746b..ab9e240 100644
--- a/modules/codec/cc.h
+++ b/modules/codec/cc.h
@@ -201,11 +201,6 @@ static inline void cc_Extract( cc_data_t *c, bool b_top_field_first, const uint8
for( i = 0; i < i_count_cc; i++, cc += 3 )
{
- uint8_t i_field = cc[0] & 0x03;
- if( ( cc[0] & 0xfc ) != 0xfc )
- continue;
- if( i_field != 0 && i_field != 1 )
- continue;
if( c->i_data + 3 > CC_MAX_DATA_SIZE )
break;
More information about the vlc-commits
mailing list