Merge commit 'a6a27fede94efe48aad1dcc9d5e000d2de71c7b2'

* commit 'a6a27fede94efe48aad1dcc9d5e000d2de71c7b2':
  vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-08-15 12:45:11 +02:00
commit 3eba0a9190

View File

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