Remove unneeded line. key_frame is already set to 1 in avcodec_alloc_frame().
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 15 Dec 2010 17:28:49 +0000 (17:28 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 15 Dec 2010 17:28:49 +0000 (17:28 +0000)
Originally committed as revision 26020 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3enc.c

index 107fe937f978a63f64ae8b5513dc92ab151d6375..647d815899d37cf22da3e537553066fc959e4b04 100644 (file)
@@ -1609,7 +1609,6 @@ static av_cold int ac3_encode_init(AVCodecContext *avctx)
     mdct_init(9);
 
     avctx->coded_frame= avcodec_alloc_frame();
-    avctx->coded_frame->key_frame= 1;
 
     return 0;
 }