summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demux/demux_lavf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index 6b12695afb..e3b313eac1 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -1146,8 +1146,6 @@ static void demux_close_lavf(demuxer_t *demuxer)
{
lavf_priv_t *priv = demuxer->priv;
if (priv) {
- if (priv->avfc)
- av_freep(&priv->avfc->key);
avformat_close_input(&priv->avfc);
if (priv->pb)
av_freep(&priv->pb->buffer);