Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-14 22:56:32 +0400
committerDiego Biurrun <diego@biurrun.de>2014-08-15 11:53:02 +0400
commita6a27fede94efe48aad1dcc9d5e000d2de71c7b2 (patch)
tree384d7e27f380662ab3173d31d4163f386da68d39 /libavdevice/vfwcap.c
parent7c371754fbc0dcc23bd00278b147f8095ccc5625 (diff)
vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()
Diffstat (limited to 'libavdevice/vfwcap.c')
-rw-r--r--libavdevice/vfwcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index fea85fc5ae..5fdda4a606 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;
}