[FFmpeg-cvslog] v210enc: do not set coded_frame->key_frame
Paul B Mahol
git at videolan.org
Tue Feb 7 02:02:58 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Feb 5 21:14:35 2012 +0000| [66fa2a1fb371a393b6e03bf85efb08d4df9a7f75] | committer: Anton Khirnov
v210enc: do not set coded_frame->key_frame
It is already set in avcodec_alloc_frame().
Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66fa2a1fb371a393b6e03bf85efb08d4df9a7f75
---
libavcodec/v210enc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c
index 069f915..6266bb9 100644
--- a/libavcodec/v210enc.c
+++ b/libavcodec/v210enc.c
@@ -44,7 +44,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
if (!avctx->coded_frame)
return AVERROR(ENOMEM);
- avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
return 0;
More information about the ffmpeg-cvslog
mailing list