[MPlayer-dev-eng] [PATCH] Equals in Ogg comments

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Mar 5 11:43:26 CET 2007


Hello,
On Mon, Mar 05, 2007 at 10:50:02AM +0100, Nicolas George wrote:
>  	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;

Why not adding the '=' to the table and removing the + 1 in this last
line?

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list