[SCM] libav/experimental: vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Aug 30 15:49:52 UTC 2014


The following commit has been merged in the experimental branch:
commit a6a27fede94efe48aad1dcc9d5e000d2de71c7b2
Author: Diego Biurrun <diego at biurrun.de>
Date:   Thu Aug 14 20:56:32 2014 +0200

    vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index fea85fc..5fdda4a 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -230,7 +230,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;
     }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list