changeset 12303:bf6a00442ed0 libavcodec

Do not need to set coded_frame->key_frame = 1 because it is already set in avcodec_alloc_frame().
author jbr
date Fri, 30 Jul 2010 19:02:59 +0000
parents 2e28769c55a9
children 78275120749d
files flacenc.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flacenc.c	Fri Jul 30 18:59:27 2010 +0000
+++ b/flacenc.c	Fri Jul 30 19:02:59 2010 +0000
@@ -437,7 +437,6 @@
     avctx->coded_frame = avcodec_alloc_frame();
     if (!avctx->coded_frame)
         return AVERROR(ENOMEM);
-    avctx->coded_frame->key_frame = 1;
 
     dprint_compression_options(s);