[MPlayer-dev-eng] MNG support for MPlayer
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Nov 26 21:13:39 CET 2008
On Mon, Sep 29, 2008 at 12:45:58PM +0200, Stefan Schuermans wrote:
> +echocheck "MNG support"
> +if test "$_mng" = auto ; then
> + _mng=no
> + cat > $TMPC << EOF
> +#include <libmng.h>
> +int main(void) {
> + const char * p_ver = mng_version_text() ?: "";
This is not valid C, though gcc unfortunately only warns.
> + return p_ver[0] == 0;
> +}
Change it to e.g.
const char * p_ver = mng_version_text();
return !p_ver || p_ver[0] == 0;
and IMO it is okay to apply.
I'd be happy for any volunteer to apply it, otherwise I will try to
remember to do it "somewhen".
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list