dshow: use non deprecated api

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
This commit is contained in:
rogerdpack 2015-01-23 06:07:24 -07:00
parent e620eee88c
commit 8eb5b5ec6f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}