projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c37175
)
vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()
author
Diego Biurrun
<diego@biurrun.de>
Thu, 14 Aug 2014 18:56:32 +0000
(20:56 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 15 Aug 2014 07:53:02 +0000
(09:53 +0200)
libavdevice/vfwcap.c
patch
|
blob
|
history
diff --git
a/libavdevice/vfwcap.c
b/libavdevice/vfwcap.c
index fea85fc5aee76d55b013fa8be0a378c7b21c91a5..5fdda4a606c9e22c276202b1b3f032ce282115bb 100644
(file)
--- 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;
}