mirror of https://github.com/mpv-player/mpv
Don't pass NULL pointers to demux_info_add()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16605 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c84718c512
commit
2b04744d21
|
@ -499,8 +499,8 @@ static void demux_ogg_check_comments(demuxer_t *d, ogg_stream_t *os, int id, vor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
demux_info_add(d, hdr, val);
|
|
||||||
if (hdr)
|
if (hdr)
|
||||||
|
demux_info_add(d, hdr, val);
|
||||||
mp_dbg(MSGT_DEMUX, MSGL_DBG2, " %s: %s\n", hdr, val);
|
mp_dbg(MSGT_DEMUX, MSGL_DBG2, " %s: %s\n", hdr, val);
|
||||||
cmt++;
|
cmt++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue