Commit 8eb5b5ec authored by rogerdpack's avatar rogerdpack

dshow: use non deprecated api

Signed-off-by: 's avatarrogerdpack <rogerpack2005@gmail.com>
parent e620eee8
......@@ -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;
}
......
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