dshow: use non deprecated api
authorrogerdpack <rogerpack2005@gmail.com>
Fri, 23 Jan 2015 13:07:24 +0000 (06:07 -0700)
committerrogerdpack <rogerpack2005@gmail.com>
Fri, 23 Jan 2015 13:07:24 +0000 (06:07 -0700)
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
libavdevice/dshow.c

index 4883b33..0a5788d 100644 (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;
     }