[MPlayer-dev-eng] [PATCH] demuxers cleanup (was Re: [PATCH] misc small fixes (mostly gcc warnings) )

Oded Shimon ods15 at ods15.dyndns.org
Sun Nov 27 20:22:13 CET 2005


On Sun, Nov 27, 2005 at 09:16:19PM +0200, Ivan Kalvachev wrote:
> 2005/11/27, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org>:
> -	 if (test_mix_index = strchr(mix_name, ',')){
> +	 if ((test_mix_index = strchr(mix_name, ','))){
> 
> this looks a little pointless. maybe there is something missing?

Compiler warning, you really do want to check the result after a '=', it's 
not a mistyped '=='.

- ods15




More information about the MPlayer-dev-eng mailing list