1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

libmp3lame: do not set coded_frame->key_frame.

it is already set in avcodec_alloc_frame()
This commit is contained in:
Justin Ruggles 2012-02-16 22:12:21 -05:00
parent 8dad25ebf7
commit 35cfd7d09c

View File

@ -89,7 +89,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
ret = AVERROR(ENOMEM); ret = AVERROR(ENOMEM);
goto error; goto error;
} }
avctx->coded_frame->key_frame = 1;
return 0; return 0;
error: error: