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

kostya subversion at mplayerhq.hu
Wed Mar 26 06:54:50 CET 2008


Author: kostya
Date: Wed Mar 26 06:54:50 2008
New Revision: 2044

Log:
return real number of bytes written

Modified:
   dcaenc/dcaenc.c

Modified: dcaenc/dcaenc.c
==============================================================================
--- dcaenc/dcaenc.c	(original)
+++ dcaenc/dcaenc.c	Wed Mar 26 06:54:50 2008
@@ -335,7 +335,7 @@ static int DCA_encode_frame(AVCodecConte
 
     put_frame(c, c->subband, frame);
 
-    return 4000;
+    return put_bits_count(&c->pb)>>3;
 }
 
 static int DCA_encode_init(AVCodecContext *avctx) {



More information about the FFmpeg-soc mailing list