aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-15 12:45:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-15 12:45:35 +0200
commit3eba0a91905fd9382fbd7e45eb663f9fc959f034 (patch)
tree40e99ca7d08e5fb92f1feffe1334a0473cd6b6ea
parentedd0dc854d45229f48504dea3482759b0ca92d54 (diff)
parenta6a27fede94efe48aad1dcc9d5e000d2de71c7b2 (diff)
downloadffmpeg-3eba0a91905fd9382fbd7e45eb663f9fc959f034.tar.gz
Merge commit 'a6a27fede94efe48aad1dcc9d5e000d2de71c7b2'
* commit 'a6a27fede94efe48aad1dcc9d5e000d2de71c7b2': vfwcap: Replace deprecated av_destruct_packet() by av_free_packet() Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/vfwcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index e5d959350a..d3117991c7 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -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;
}