diff options
-rw-r--r-- | libavdevice/dshow.c | 2 |
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; } |