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

ramiro subversion at mplayerhq.hu
Tue Sep 9 03:58:05 CEST 2008


Author: ramiro
Date: Tue Sep  9 03:58:05 2008
New Revision: 3740

Log:
Split a put_bits(32) into two put_bits(16).

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Tue Sep  9 03:58:05 2008
@@ -779,7 +779,8 @@ static void write_major_sync(MLPEncodeCo
                                  * 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, 16, 0x0000);
+    put_bits(&pb, 16, 0x8080); /* These values seem */
     put_bits(&pb,  8, 0x00              ); /* to be constants.  */
     put_bits(&pb,  8, ctx->mlp_channels3); /* TODO Finish understanding this field. */
 



More information about the FFmpeg-soc mailing list