dshow: use non deprecated api

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
pull/105/head
rogerdpack 10 years ago
parent e620eee88c
commit 8eb5b5ec6f
  1. 2
      libavdevice/dshow.c

@ -162,7 +162,7 @@ dshow_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…
Cancel
Save