[MPlayer-cvslog] r23280 - trunk/libmpdemux/demux_ogg.c
reimar
subversion at mplayerhq.hu
Wed May 9 22:10:14 CEST 2007
Author: reimar
Date: Wed May 9 22:10:14 2007
New Revision: 23280
Log:
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
Modified:
trunk/libmpdemux/demux_ogg.c
Modified: trunk/libmpdemux/demux_ogg.c
==============================================================================
--- trunk/libmpdemux/demux_ogg.c (original)
+++ trunk/libmpdemux/demux_ogg.c Wed May 9 22:10:14 2007
@@ -455,7 +455,8 @@ static void demux_ogg_check_comments(dem
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;
More information about the MPlayer-cvslog
mailing list