[FFmpeg-cvslog] vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

Diego Biurrun git at videolan.org
Fri Aug 15 19:58:10 CEST 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Aug 14 20:56:32 2014 +0200| [a6a27fede94efe48aad1dcc9d5e000d2de71c7b2] | committer: Diego Biurrun

vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6a27fede94efe48aad1dcc9d5e000d2de71c7b2
---

 libavdevice/vfwcap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     }



More information about the ffmpeg-cvslog mailing list