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

kostya subversion at mplayerhq.hu
Sat Aug 16 09:16:02 CEST 2008


Author: kostya
Date: Sat Aug 16 09:16:02 2008
New Revision: 3344

Log:
Brand AAC stream again and again so users will know what encoder to blame

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Sat Aug 16 09:16:02 2008
@@ -795,7 +795,7 @@ static int aac_encode_frame(AVCodecConte
     }
 
     init_put_bits(&s->pb, frame, buf_size*8);
-    if(avctx->frame_number==1 && !(avctx->flags & CODEC_FLAG_BITEXACT)){
+    if((avctx->frame_number & 0xFF)==1 && !(avctx->flags & CODEC_FLAG_BITEXACT)){
         put_bitstream_info(avctx, s, LIBAVCODEC_IDENT);
     }
     start_ch = 0;



More information about the FFmpeg-soc mailing list