Merge commit 'a6a27fede94efe48aad1dcc9d5e000d2de71c7b2'
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Aug 2014 10:45:11 +0000 (12:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Aug 2014 10:45:35 +0000 (12:45 +0200)
* commit 'a6a27fede94efe48aad1dcc9d5e000d2de71c7b2':
  vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/vfwcap.c

index e5d9593..d311799 100644 (file)
@@ -228,7 +228,7 @@ static int vfw_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;
     }