]> git.sesse.net Git - vlc/commitdiff
Store channels counter to a single byte. We can only handle 32 of them anyway
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 7 Jun 2007 16:43:10 +0000 (16:43 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 7 Jun 2007 16:43:10 +0000 (16:43 +0000)
include/vlc_es.h

index 424313a920f0d3565ab79a789fc223c666139661..02a4858798be0d1bf0cd3b3da9d9ca19df350d4b 100644 (file)
@@ -73,9 +73,9 @@ struct audio_format_t
      */
 
     /* FIXME ? (used by the codecs) */
-    int i_channels;
-    int i_blockalign;
-    int i_bitspersample;
+    unsigned     i_bitspersample;
+    unsigned     i_blockalign;
+    uint8_t      i_channels; /* must be <32 */
 };
 
 #ifdef WORDS_BIGENDIAN