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:
1 parent
8c82555e41
commit
7a51271d3d
1 file changed
-2
@@ -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