1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

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:
rtognimp 2005-09-26 20:13:10 +00:00
parent c84718c512
commit 2b04744d21

View File

@ -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)
demux_info_add(d, hdr, val);
mp_dbg(MSGT_DEMUX, MSGL_DBG2, " %s: %s\n", hdr, val);
cmt++;
}