[FFmpeg-soc] [soc]: r3284 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Thu Aug 14 22:18:09 CEST 2008


Author: ramiro
Date: Thu Aug 14 22:18:09 2008
New Revision: 3284

Log:
Update comment about yet unknown values.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Thu Aug 14 22:18:09 2008
@@ -155,8 +155,10 @@ static void write_major_sync(MLPEncodeCo
                            * a little bit less. */
     put_bits(&pb,  4, 1); /* TODO Support more num_substreams. */
 
-    put_bits(&pb,  4, 0x1       ); /* TODO These values have something */
-    put_bits(&pb, 16, 0x054c    ); /* to do with the sample rate       */
+    put_bits(&pb,  4, 0x1       ); /* TODO These values have something to */
+    put_bits(&pb, 16, 0x054c    ); /* do with the sample rate. The ones   */
+                                   /* used here come from samples that    */
+                                   /* are stereo and have 44100Hz.        */
     put_bits(&pb,  8, ctx->mlp_channels2);
     put_bits(&pb, 32, 0x00008080); /* These values seem */
     put_bits(&pb,  8, 0x00      ); /* to be constants   */



More information about the FFmpeg-soc mailing list