[MPlayer-dev-eng] misuse of ao_plugin_cfg.plugin_list?

Arpi arpi at thot.banki.hu
Thu Oct 10 00:07:18 CEST 2002


Hi,

> mplayer.c:1281: warning: passing arg 2 of `init_best_audio_out' makes integer from pointer without a cast
> Relevant code snippet from mplayer.c
> [...]
>   if(!(audio_out=init_best_audio_out(audio_driver_list,
>       (ao_plugin_cfg.plugin_list), // plugin flag
>        ^^^^^^^^^^^^^^^^^^^^^^^^^ this is char *

yes, so it should be (ao_plugin_cfg.plugin_list!=NULL) then ...

> ... but init_best_audio_out expects int instead:

actually boolean, but there is no type 'boolena' in C

> More coming soon... :-)
w8ing :)

A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list