mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 00:06:56 +00:00
Ignore comments where no '=' follows the comment name (otherwise
"album_ja=..." would result in "Album: ja=..." MPlayer output). Patch by Nicolas George [nicolas george [at] ens fr]. See thread: "[PATCH] Equals in Ogg comments", Mon, 5 Mar 2007 10:50:02 +0100 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23280 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4d9f279a66
commit
1e4b9a95b7
@ -455,7 +455,8 @@ static void demux_ogg_check_comments(demuxer_t *d, ogg_stream_t *os, int id, vor
|
||||
else {
|
||||
for (i = 0; table[i].ogg; i++)
|
||||
{
|
||||
if (!strncasecmp(*cmt, table[i].ogg, strlen(table[i].ogg)))
|
||||
if (!strncasecmp(*cmt, table[i].ogg, strlen(table[i].ogg)) &&
|
||||
(*cmt)[strlen(table[i].ogg)] == '=')
|
||||
{
|
||||
hdr = table[i].mp;
|
||||
val = *cmt + strlen(table[i].ogg) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user