mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-20 22:06:59 +00:00
vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()
This commit is contained in:
parent
7c371754fb
commit
a6a27fede9
@ -230,7 +230,7 @@ static int vfw_read_close(AVFormatContext *s)
|
|||||||
pktl = ctx->pktl;
|
pktl = ctx->pktl;
|
||||||
while (pktl) {
|
while (pktl) {
|
||||||
AVPacketList *next = pktl->next;
|
AVPacketList *next = pktl->next;
|
||||||
av_destruct_packet(&pktl->pkt);
|
av_free_packet(&pktl->pkt);
|
||||||
av_free(pktl);
|
av_free(pktl);
|
||||||
pktl = next;
|
pktl = next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user