[vlc-devel] commit: XDS does not mean CC channel 3. (Laurent Aimar )

git version control git at videolan.org
Thu Apr 16 22:02:23 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Apr 16 21:24:29 2009 +0200| [8e9bd644895b781b14946674b9f64c3fed46cb16] | committer: Laurent Aimar 

XDS does not mean CC channel 3.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e9bd644895b781b14946674b9f64c3fed46cb16
---

 modules/codec/cc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/cc.c b/modules/codec/cc.c
index 804899a..419d576 100644
--- a/modules/codec/cc.c
+++ b/modules/codec/cc.c
@@ -624,7 +624,7 @@ static void Eia608ParseChannel( eia608_t *h, uint8_t d[2] )
         h->i_channel = 1;
     else if( d1 == 0x1c )
         h->i_channel = 2;
-    else if( ( d1 >= 0x01 && d1 <= 0x0f ) || d1 == 0x15 )
+    else if( d1 == 0x15 )
         h->i_channel = 3;
     else if( d1 == 0x1d )
         h->i_channel = 4;




More information about the vlc-devel mailing list