]> git.sesse.net Git - vlc/blobdiff - modules/codec/cc.c
Fix warnings in lpcm, cc and theora
[vlc] / modules / codec / cc.c
index cb1dc4b5e0aa0463ea48fdf743763b917af54448..b53a84f5c10b89ad72b43884f4c53e8523a7807e 100644 (file)
@@ -618,7 +618,7 @@ static void Eia608ParseChannel( eia608_t *h, const uint8_t d[2] )
 
     /* */
     const int d1 = d[0] & 0x7f;
-    const int d2 = d[1] & 0x7f;
+    // const int d2 = d[1] & 0x7f;
     if( d1 == 0x14 )
         h->i_channel = 1;
     else if( d1 == 0x1c )
@@ -1143,5 +1143,6 @@ static char *Eia608Text( eia608_t *h, bool b_html )
 
 static void Eia608Exit( eia608_t *h )
 {
+    VLC_UNUSED( h );
 }