mirror of https://github.com/mpv-player/mpv
demux_lavf: don't free AVFormatContext.key field
We don't even set it anymore. This really should be up to libavformat.
This commit is contained in:
parent
8c82555e41
commit
7a51271d3d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue