Skip to content
Snippets Groups Projects
Commit 9acf5341 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun
Browse files

openal-dec: replace av_destruct_packet with av_free_packet

parent c363843a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment