[FFmpeg-cvslog] r24600 - trunk/libavcodec/flacenc.c

jbr subversion
Fri Jul 30 21:02:59 CEST 2010


Author: jbr
Date: Fri Jul 30 21:02:59 2010
New Revision: 24600

Log:
Do not need to set coded_frame->key_frame = 1 because it is already set in 
avcodec_alloc_frame().

Modified:
   trunk/libavcodec/flacenc.c

Modified: trunk/libavcodec/flacenc.c
==============================================================================
--- trunk/libavcodec/flacenc.c	Fri Jul 30 20:59:27 2010	(r24599)
+++ trunk/libavcodec/flacenc.c	Fri Jul 30 21:02:59 2010	(r24600)
@@ -437,7 +437,6 @@ static av_cold int flac_encode_init(AVCo
     avctx->coded_frame = avcodec_alloc_frame();
     if (!avctx->coded_frame)
         return AVERROR(ENOMEM);
-    avctx->coded_frame->key_frame = 1;
 
     dprint_compression_options(s);
 



More information about the ffmpeg-cvslog mailing list