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

ramiro subversion at mplayerhq.hu
Mon Apr 20 04:40:30 CEST 2009


Author: ramiro
Date: Mon Apr 20 04:40:30 2009
New Revision: 4219

Log:
Add a define for MAJOR_SYNC_INFO_SIGNATURE.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	Mon Apr 20 04:39:52 2009	(r4218)
+++ mlp/mlpenc.c	Mon Apr 20 04:40:30 2009	(r4219)
@@ -190,6 +190,7 @@ static DecodingParams  restart_decoding_
 static BestOffset      restart_best_offset[NUM_CODEBOOKS] = {{0}};
 
 #define SYNC_MAJOR      0xf8726f
+#define MAJOR_SYNC_INFO_SIGNATURE   0xB752
 
 #define SYNC_MLP        0xbb
 #define SYNC_TRUEHD     0xba
@@ -793,7 +794,7 @@ static void write_major_sync(MLPEncodeCo
     put_bits(&pb,  5, ctx->channel_arrangement);
 
     /* These values seem to be constant for all tested MLP samples. */
-    put_bits(&pb, 16, 0xb752);
+    put_bits(&pb, 16, MAJOR_SYNC_INFO_SIGNATURE);
     put_bits(&pb, 16, 0x4000);
     put_bits(&pb, 16, 0x0000);
 


More information about the FFmpeg-soc mailing list