mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 19:32:13 +00:00
dshow: use non deprecated api
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
This commit is contained in:
parent
e620eee88c
commit
8eb5b5ec6f
@ -162,7 +162,7 @@ dshow_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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user