mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
openal-dec: replace av_destruct_packet with av_free_packet
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
c363843a53
commit
9acf5341d6
@ -204,7 +204,7 @@ static int read_packet(AVFormatContext* ctx, AVPacket *pkt)
|
||||
fail:
|
||||
/* Handle failure */
|
||||
if (pkt->data)
|
||||
av_destruct_packet(pkt);
|
||||
av_free_packet(pkt);
|
||||
if (error_msg)
|
||||
av_log(ctx, AV_LOG_ERROR, "Error: %s\n", error_msg);
|
||||
return error;
|
||||
|
Loading…
Reference in New Issue
Block a user