diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-04-19 03:44:17 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-04-26 10:35:09 -0500 |
commit | 95116bf35f1bbc15a41be67f70f31b8de6075b8f (patch) | |
tree | 2f8f690630e40da9d71b1d5587b1df2c9c379a5e /libavcodec | |
parent | 0cb19c30c6a14418eaa6858db303602815fe3ab1 (diff) | |
download | ffmpeg-95116bf35f1bbc15a41be67f70f31b8de6075b8f.tar.gz |
lavc/audiotoolboxdec: fix memory leak
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/audiotoolboxdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c index 31e14d4f90..58d05f8e55 100644 --- 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; |