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:
cc40c05
)
adxenc: remove unnecessary setting of coded_frame->key_frame.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 19 Dec 2011 14:45:50 +0000
(09:45 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 3 Jan 2012 23:47:41 +0000
(18:47 -0500)
It is already set by avcodec_alloc_frame().
libavcodec/adxenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/adxenc.c
b/libavcodec/adxenc.c
index
a580bb3
..
43f7801
100644
(file)
--- a/
libavcodec/adxenc.c
+++ b/
libavcodec/adxenc.c
@@
-108,7
+108,6
@@
static av_cold int adx_encode_init(AVCodecContext *avctx)
avctx->frame_size = 32;
avctx->coded_frame = avcodec_alloc_frame();
- avctx->coded_frame->key_frame = 1;
/* the cutoff can be adjusted, but this seems to work pretty well */
c->cutoff = 500;