Commit a6a27fed authored by Diego Biurrun's avatar Diego Biurrun

vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

parent 7c371754
......@@ -230,7 +230,7 @@ static int vfw_read_close(AVFormatContext *s)
pktl = ctx->pktl;
while (pktl) {
AVPacketList *next = pktl->next;
av_destruct_packet(&pktl->pkt);
av_free_packet(&pktl->pkt);
av_free(pktl);
pktl = next;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment