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:
0cb19c3
)
lavc/audiotoolboxdec: fix memory leak
author
Rodger Combs
<rodger.combs@gmail.com>
Tue, 19 Apr 2016 08:44:17 +0000
(
03:44
-0500)
committer
Rodger Combs
<rodger.combs@gmail.com>
Tue, 26 Apr 2016 15:35:09 +0000
(10:35 -0500)
libavcodec/audiotoolboxdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/audiotoolboxdec.c
b/libavcodec/audiotoolboxdec.c
index
31e14d4
..
58d05f8
100644
(file)
--- a/
libavcodec/audiotoolboxdec.c
+++ b/
libavcodec/audiotoolboxdec.c
@@
-414,6
+414,7
@@
static OSStatus ffat_decode_callback(AudioConverterRef converter, UInt32 *nb_pac
return 0;
}
+ av_packet_unref(&at->in_pkt);
av_packet_move_ref(&at->in_pkt, &at->new_in_pkt);
at->new_in_pkt.data = 0;
at->new_in_pkt.size = 0;