[FFmpeg-soc] [soc]: r1556 - eac3/eac3dec.c

jbr subversion at mplayerhq.hu
Thu Dec 13 04:08:16 CET 2007


Author: jbr
Date: Thu Dec 13 04:08:16 2007
New Revision: 1556

Log:
add note about why handling of reduced sample rates is not implemented

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Thu Dec 13 04:08:16 2007
@@ -345,6 +345,10 @@ static int parse_bsi(GetBitContext *gbc,
     s->frame_size = (get_bits(gbc, 11) + 1) * 2;
     s->sr_code = get_bits(gbc, 2);
     if (s->sr_code == EAC3_SR_CODE_REDUCED) {
+        /* The E-AC3 specification does not tell how to handle reduced sample
+           rates in bit allocation.  The best assumption would be that it is
+           handled like AC3 DolbyNet, but we cannot be sure until we have a
+           sample which utilizes this feature. */
         log_missing_feature(s->avctx, "Reduced Sampling Rates");
         return -1;
 #if 0



More information about the FFmpeg-soc mailing list