Browse Source

vfwcap: Replace deprecated av_destruct_packet() by av_free_packet()

tags/n2.4
Diego Biurrun 11 years ago
parent
commit
a6a27fede9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/vfwcap.c

+ 1
- 1
libavdevice/vfwcap.c View File

@@ -230,7 +230,7 @@ static int vfw_read_close(AVFormatContext *s)
pktl = ctx->pktl; pktl = ctx->pktl;
while (pktl) { while (pktl) {
AVPacketList *next = pktl->next; AVPacketList *next = pktl->next;
av_destruct_packet(&pktl->pkt);
av_free_packet(&pktl->pkt);
av_free(pktl); av_free(pktl);
pktl = next; pktl = next;
} }


Loading…
Cancel
Save