mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
update to libnut API, don't free the streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20941 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fdb5454df2
commit
e7c9a5bbe4
@ -275,9 +275,8 @@ static int demux_control_nut(demuxer_t * demuxer, int cmd, void * arg) {
|
||||
}
|
||||
|
||||
static void demux_close_nut(demuxer_t *demuxer) {
|
||||
nut_context_t * nut = ((nut_priv_t*)demuxer->priv)->nut;
|
||||
nut_demuxer_uninit(nut);
|
||||
free(((nut_priv_t*)demuxer->priv)->s);
|
||||
nut_priv_t * priv = demuxer->priv;
|
||||
nut_demuxer_uninit(priv->nut);
|
||||
free(demuxer->priv);
|
||||
demuxer->priv = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user