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

kostya subversion at mplayerhq.hu
Wed Jul 9 18:16:38 CEST 2008


Author: kostya
Date: Wed Jul  9 18:16:38 2008
New Revision: 2751

Log:
Do not output identity tag in (hypothetical) bitexact case

Modified:
   aacenc/aacenc.c

Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c	(original)
+++ aacenc/aacenc.c	Wed Jul  9 18:16:38 2008
@@ -664,7 +664,7 @@ static int aac_encode_frame(AVCodecConte
     ff_aac_psy_analyze(&s->psy, samples, 0, &s->cpe);
 
     init_put_bits(&s->pb, frame, buf_size*8);
-    if(!avctx->frame_number){
+    if(!avctx->frame_number && !(avctx->flags & CODEC_FLAG_BITEXACT)){
         put_bitstream_info(avctx, s, LIBAVCODEC_IDENT);
     }
     switch(avctx->channels){



More information about the FFmpeg-soc mailing list