]> git.sesse.net Git - vlc/commitdiff
m4a packetizer: remove (comment) unused parameter
authorRafaël Carré <funman@videolan.org>
Thu, 13 Mar 2008 14:55:09 +0000 (15:55 +0100)
committerRafaël Carré <funman@videolan.org>
Thu, 13 Mar 2008 14:55:09 +0000 (15:55 +0100)
modules/packetizer/mpeg4audio.c

index bf0b73aa259a78e05da012b19a225abfcddbfee9..e094bc49484fa570891cafa09b57bdc7e23f04e1 100644 (file)
@@ -331,11 +331,11 @@ static int ADTSSyncInfo( decoder_t * p_dec, const byte_t * p_buf,
                          unsigned int * pi_frame_length,
                          unsigned int * pi_header_size )
 {
-    int i_id, i_profile, i_sample_rate_idx, i_frame_size;
+    int i_profile, i_sample_rate_idx, i_frame_size;
     vlc_bool_t b_crc;
 
     /* Fixed header between frames */
-    i_id = ( (p_buf[1] >> 3) & 0x01) ? 2 : 4; /* MPEG-2 or 4 */
+    //int i_id = ( (p_buf[1] >> 3) & 0x01) ? 2 : 4; /* MPEG-2 or 4 */
     b_crc = !(p_buf[1] & 0x01);
     i_profile = p_buf[2] >> 6;
     i_sample_rate_idx = (p_buf[2] >> 2) & 0x0f;