You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user