[FFmpeg-soc] [soc]: r1750 - eac3/ac3_parser.c

jbr subversion at mplayerhq.hu
Wed Jan 2 00:34:41 CET 2008


Author: jbr
Date: Wed Jan  2 00:34:40 2008
New Revision: 1750

Log:
set sr_shift to zero for E-AC3

Modified:
   eac3/ac3_parser.c

Modified: eac3/ac3_parser.c
==============================================================================
--- eac3/ac3_parser.c	(original)
+++ eac3/ac3_parser.c	Wed Jan  2 00:34:40 2008
@@ -103,6 +103,7 @@ int ff_ac3_parse_header(const uint8_t bu
         } else {
             hdr->num_blocks = eac3_blocks[get_bits(&gbc, 2)];
             hdr->sample_rate = ff_ac3_sample_rate_tab[hdr->sr_code];
+            hdr->sr_shift = 0;
         }
 
         hdr->channel_mode = get_bits(&gbc, 3);



More information about the FFmpeg-soc mailing list