aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/dshow.c
diff options
context:
space:
mode:
authorrogerdpack <rogerpack2005@gmail.com>2015-01-23 06:07:24 -0700
committerrogerdpack <rogerpack2005@gmail.com>2015-01-23 06:07:24 -0700
commit8eb5b5ec6f582cac25195682680907c9ac52374a (patch)
treee39037f699e813fe28060f89f02813bd131b41a0 /libavdevice/dshow.c
parente620eee88c4fdd43eb45001e4ec073110aea78d8 (diff)
downloadffmpeg-8eb5b5ec6f582cac25195682680907c9ac52374a.tar.gz
dshow: use non deprecated api
Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r--libavdevice/dshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 4883b33ea6..0a5788dbb9 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -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;
}