[FFmpeg-soc] [soc]: r2575 - aacenc/aacenc.c

kostya subversion at mplayerhq.hu
Wed Jun 25 08:06:44 CEST 2008


Author: kostya
Date: Wed Jun 25 08:06:43 2008
New Revision: 2575

Log:
Very future rate control will need this

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Wed Jun 25 08:06:43 2008
@@ -620,6 +620,7 @@ static int aac_encode_frame(AVCodecConte
 
     put_bits(&s->pb, 3, ID_END);
     flush_put_bits(&s->pb);
+    avctx->frame_bits = put_bits_count(&s->pb);
     return put_bits_count(&s->pb)>>3;
 }
 



More information about the FFmpeg-soc mailing list