You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc/audiotoolboxdec: fix memory leak
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user