OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dad25e
)
libmp3lame: do not set coded_frame->key_frame.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 17 Feb 2012 03:12:21 +0000
(22:12 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 20 Feb 2012 17:32:30 +0000
(12:32 -0500)
it is already set in avcodec_alloc_frame()
libavcodec/libmp3lame.c
patch
|
blob
|
history
diff --git
a/libavcodec/libmp3lame.c
b/libavcodec/libmp3lame.c
index
1241cdc
..
0409655
100644
(file)
--- a/
libavcodec/libmp3lame.c
+++ b/
libavcodec/libmp3lame.c
@@
-89,7
+89,6
@@
static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
ret = AVERROR(ENOMEM);
goto error;
}
- avctx->coded_frame->key_frame = 1;
return 0;
error: