# HG changeset patch # User jbr # Date 1280516579 0 # Node ID bf6a00442ed0fda546f6f3ec4fc16bad259e24fc # Parent 2e28769c55a96226a7efd3f842d58eee59117f8e Do not need to set coded_frame->key_frame = 1 because it is already set in avcodec_alloc_frame(). diff -r 2e28769c55a9 -r bf6a00442ed0 flacenc.c --- 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);