[FFmpeg-soc] [soc]: r2042 - dcaenc/dcaenc.c

kostya subversion at mplayerhq.hu
Wed Mar 26 06:53:05 CET 2008


Author: kostya
Date: Wed Mar 26 06:53:05 2008
New Revision: 2042

Log:
put_bits() arguments were swapped

Modified:
   dcaenc/dcaenc.c

Modified: dcaenc/dcaenc.c
==============================================================================
--- dcaenc/dcaenc.c	(original)
+++ dcaenc/dcaenc.c	Wed Mar 26 06:53:05 2008
@@ -297,7 +297,7 @@ static void put_subframe(DCAContext *c, 
                 for (i = 0; i < 8; i++)
                     put_bits(&c->pb, 16, quantize(subband_data[ss * 8 + i][ch][sub]));
     /* DSYNC */
-    put_bits(&c->pb, 0xffff, 16);
+    put_bits(&c->pb, 16, 0xffff);
 }
 
 void put_frame(DCAContext *c, int32_t subband_data[64][2][32], uint8_t *frame)



More information about the FFmpeg-soc mailing list