mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user