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:
57c63c9
)
avcodec/libopencore-amr: remove av_free coded_frame.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 23 Dec 2013 16:38:39 +0000
(17:38 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 23 Dec 2013 16:38:39 +0000
(17:38 +0100)
There seems to be nothing that sets coded_frame
also av_free is wrong
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libopencore-amr.c
patch
|
blob
|
history
diff --git
a/libavcodec/libopencore-amr.c
b/libavcodec/libopencore-amr.c
index
75c467f
..
3a8787b
100644
(file)
--- a/
libavcodec/libopencore-amr.c
+++ b/
libavcodec/libopencore-amr.c
@@
-205,7
+205,6
@@
static av_cold int amr_nb_encode_init(AVCodecContext *avctx)
s->enc_state = Encoder_Interface_init(s->enc_dtx);
if (!s->enc_state) {
av_log(avctx, AV_LOG_ERROR, "Encoder_Interface_init error\n");
- av_freep(&avctx->coded_frame);
return -1;
}