# HG changeset patch # User reimar # Date 1178741414 0 # Node ID a08c4d770870cf4b6407abcabc856afdd2db3146 # Parent 1bd2f5e63da53028f8c55b623ce3ce89a80b380a 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 diff -r 1bd2f5e63da5 -r a08c4d770870 libmpdemux/demux_ogg.c --- a/libmpdemux/demux_ogg.c Wed May 09 17:29:20 2007 +0000 +++ b/libmpdemux/demux_ogg.c Wed May 09 20:10:14 2007 +0000 @@ -455,7 +455,8 @@ 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;