projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d73466f
)
v210enc: do not set coded_frame->key_frame
author
Paul B Mahol
<onemda@gmail.com>
Sun, 5 Feb 2012 21:14:35 +0000
(21:14 +0000)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 6 Feb 2012 06:59:24 +0000
(07:59 +0100)
It is already set in avcodec_alloc_frame().
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/v210enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/v210enc.c
b/libavcodec/v210enc.c
index
069f915
..
6266bb9
100644
(file)
--- 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;