[MPlayer-dev-eng] MNG support for MPlayer

Stefan Schuermans stefan at blinkenarea.org
Wed Nov 26 21:28:53 CET 2008


Reimar Döffinger wrote:
> 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;

Done. New patch based on current SVN is attached.

> and IMO it is okay to apply.

Thank you for your quick answer.

Greetings,

Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MPlayer-svn20081126-mng.diff
Type: text/x-patch
Size: 25407 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081126/58c890ff/attachment.bin>


More information about the MPlayer-dev-eng mailing list