[FFmpeg-cvslog] r26020 - trunk/libavcodec/ac3enc.c

jbr subversion
Wed Dec 15 18:28:49 CET 2010


Author: jbr
Date: Wed Dec 15 18:28:49 2010
New Revision: 26020

Log:
Remove unneeded line. key_frame is already set to 1 in avcodec_alloc_frame().

Modified:
   trunk/libavcodec/ac3enc.c

Modified: trunk/libavcodec/ac3enc.c
==============================================================================
--- trunk/libavcodec/ac3enc.c	Wed Dec 15 18:28:44 2010	(r26019)
+++ trunk/libavcodec/ac3enc.c	Wed Dec 15 18:28:49 2010	(r26020)
@@ -1609,7 +1609,6 @@ static av_cold int ac3_encode_init(AVCod
     mdct_init(9);
 
     avctx->coded_frame= avcodec_alloc_frame();
-    avctx->coded_frame->key_frame= 1;
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list