[MPlayer-dev-eng] MNG support for MPlayer

compn tempn at twmi.rr.com
Thu Nov 27 01:29:37 CET 2008


On Wed, 26 Nov 2008 21:28:53 +0100, Stefan Schuermans wrote:
>Reimar Döffinger wrote:
>> On Mon, Sep 29, 2008 at 12:45:58PM +0200, Stefan Schuermans wrote:
>Done. New patch based on current SVN is attached.
>
>> and IMO it is okay to apply.
>
>Thank you for your quick answer.

something about the configure check is broken.
i dont have libmng installed and compilation fails with your patch.

Administrator at BEAGH /f/mplayer
$ make
makefile:880: warning: overriding commands for target `TAGS'
makefile:877: warning: ignoring old commands for target `TAGS'
gcc -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99 -W -Wall -O2 -march=pentium4 -mtune=pentium4 -pipe -g3  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.    -c -o libmpdemux/demux_mng.o libmpdemux/demux_mng.c
libmpdemux/demux_mng.c:38:20: libmng.h: No such file or directory
libmpdemux/demux_mng.c:58: error: syntax error before "mng_handle"
libmpdemux/demux_mng.c:58: warning: no semicolon at end of struct or union
libmpdemux/demux_mng.c:60: error: syntax error before "width"
libmpdemux/demux_mng.c:60: warning: type defaults to `int' in declaration of `width'
libmpdemux/demux_mng.c:60: warning: data definition has no type or storage class
libmpdemux/demux_mng.c:61: error: syntax error before "height"
libmpdemux/demux_mng.c:61: warning: type defaults to `int' in declaration of `height'
libmpdemux/demux_mng.c:61: warning: data definition has no type or storage class
libmpdemux/demux_mng.c:88: error: syntax error before '}' token
libmpdemux/demux_mng.c:88: warning: type defaults to `int' in declaration of `mng_priv_t'
libmpdemux/demux_mng.c:88: warning: data definition has no type or storage class
libmpdemux/demux_mng.c:95: error: syntax error before "demux_mng_alloc"
libmpdemux/demux_mng.c:95: error: syntax error before "size"
libmpdemux/demux_mng.c:96: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_alloc':
libmpdemux/demux_mng.c:97: error: `size' undeclared (first use in this function)
libmpdemux/demux_mng.c:97: error: (Each undeclared identifier is reported only once
libmpdemux/demux_mng.c:97: error: for each function it appears in.)
libmpdemux/demux_mng.c:97: warning: return makes integer from pointer without a cast
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:105: error: syntax error before "ptr"
libmpdemux/demux_mng.c: In function `demux_mng_free':
libmpdemux/demux_mng.c:107: error: `ptr' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:115: error: syntax error before "demux_mng_openstream"
libmpdemux/demux_mng.c:115: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:116: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_openstream':
libmpdemux/demux_mng.c:117: error: `mng_priv' undeclared (first use in this function)
libmpdemux/demux_mng.c:117: warning: implicit declaration of function `mng_get_userdata'
libmpdemux/demux_mng.c:117: error: `h_mng' undeclared (first use in this function)
libmpdemux/demux_mng.c:118: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_mng.c:123: error: `MNG_TRUE' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:131: error: syntax error before "demux_mng_closestream"
libmpdemux/demux_mng.c:131: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:132: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_closestream':
libmpdemux/demux_mng.c:133: error: `MNG_TRUE' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:144: error: syntax error before "demux_mng_readdata"
libmpdemux/demux_mng.c:144: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:146: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_readdata':
libmpdemux/demux_mng.c:147: error: `mng_priv' undeclared (first use in this function)
libmpdemux/demux_mng.c:147: error: `h_mng' undeclared (first use in this function)
libmpdemux/demux_mng.c:148: warning: ISO C90 forbids mixed declarations and code
libmpdemux/demux_mng.c:151: error: `buf' undeclared (first use in this function)
libmpdemux/demux_mng.c:151: error: `size' undeclared (first use in this function)
libmpdemux/demux_mng.c:151: error: invalid lvalue in assignment
libmpdemux/demux_mng.c:153: error: `MNG_TRUE' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:163: error: syntax error before "demux_mng_processheader"
libmpdemux/demux_mng.c:163: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:165: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_processheader':
libmpdemux/demux_mng.c:166: error: `mng_priv' undeclared (first use in this function)
libmpdemux/demux_mng.c:166: error: `h_mng' undeclared (first use in this function)
libmpdemux/demux_mng.c:174: warning: implicit declaration of function `mng_get_playtime'
libmpdemux/demux_mng.c:182: error: `MNG_FALSE' undeclared (first use in this function)
libmpdemux/demux_mng.c:185: error: `MNG_TRUE' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:194: error: syntax error before "demux_mng_getcanvasline"
libmpdemux/demux_mng.c:194: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:195: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_getcanvasline':
libmpdemux/demux_mng.c:196: error: `mng_priv' undeclared (first use in this function)
libmpdemux/demux_mng.c:196: error: `h_mng' undeclared (first use in this function)
libmpdemux/demux_mng.c:199: error: `line' undeclared (first use in this function)
libmpdemux/demux_mng.c:200: error: `mng_ptr' undeclared (first use in this function)
libmpdemux/demux_mng.c:202: error: syntax error before "MNG_NULL"
libmpdemux/demux_mng.c:202: error: `MNG_NULL' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:229: error: syntax error before "demux_mng_refresh"
libmpdemux/demux_mng.c:229: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:234: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_refresh':
libmpdemux/demux_mng.c:236: error: `MNG_TRUE' undeclared (first use in this function)
libmpdemux/demux_mng.c: At top level:
libmpdemux/demux_mng.c:244: error: syntax error before "demux_mng_gettickcount"
libmpdemux/demux_mng.c:244: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:245: warning: return type defaults to `int'
libmpdemux/demux_mng.c:258: error: syntax error before "demux_mng_settimer"
libmpdemux/demux_mng.c:258: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:259: warning: return type defaults to `int'
libmpdemux/demux_mng.c: In function `demux_mng_settimer':
libmpdemux/demux_mng.c:264: error: `msecs' undeclared (first use in this function)
libmpdemux/demux_mng.c:265: error: `MNG_TRUE' undeclared (first use in this function)
libmpdemux/demux_mng.c: In function `demux_mng_fill_buffer':
libmpdemux/demux_mng.c:293: error: `mng_handle' undeclared (first use in this function)
libmpdemux/demux_mng.c:293: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:294: error: `mng_retcode' undeclared (first use in this function)
libmpdemux/demux_mng.c:315: error: `mng_ret' undeclared (first use in this function)
libmpdemux/demux_mng.c:315: warning: implicit declaration of function `mng_display_resume'
libmpdemux/demux_mng.c:318: warning: implicit declaration of function `mng_display'
libmpdemux/demux_mng.c:319: error: `MNG_NEEDTIMERWAIT' undeclared (first use in this function)
libmpdemux/demux_mng.c: In function `demux_mng_open':
libmpdemux/demux_mng.c:368: error: `mng_handle' undeclared (first use in this function)
libmpdemux/demux_mng.c:368: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:369: error: `mng_retcode' undeclared (first use in this function)
libmpdemux/demux_mng.c:379: warning: implicit declaration of function `mng_initialize'
libmpdemux/demux_mng.c:379: error: syntax error before "mng_priv"
libmpdemux/demux_mng.c:392: warning: implicit declaration of function `mng_setcb_openstream'
libmpdemux/demux_mng.c:393: warning: implicit declaration of function `mng_setcb_closestream'
libmpdemux/demux_mng.c:394: warning: implicit declaration of function `mng_setcb_readdata'
libmpdemux/demux_mng.c:395: warning: implicit declaration of function `mng_setcb_processheader'
libmpdemux/demux_mng.c:396: warning: implicit declaration of function `mng_setcb_getcanvasline'
libmpdemux/demux_mng.c:397: warning: implicit declaration of function `mng_setcb_refresh'
libmpdemux/demux_mng.c:398: warning: implicit declaration of function `mng_setcb_gettickcount'
libmpdemux/demux_mng.c:399: warning: implicit declaration of function `mng_setcb_settimer'
libmpdemux/demux_mng.c:400: warning: implicit declaration of function `mng_set_canvasstyle'
libmpdemux/demux_mng.c:400: error: `MNG_CANVAS_RGBA8' undeclared (first use in this function)
libmpdemux/demux_mng.c:403: warning: implicit declaration of function `mng_cleanup'
libmpdemux/demux_mng.c:409: error: `mng_ret' undeclared (first use in this function)
libmpdemux/demux_mng.c:409: warning: implicit declaration of function `mng_read'
libmpdemux/demux_mng.c: In function `demux_mng_seek':
libmpdemux/demux_mng.c:500: error: `mng_handle' undeclared (first use in this function)
libmpdemux/demux_mng.c:500: error: syntax error before "h_mng"
libmpdemux/demux_mng.c:501: error: `mng_retcode' undeclared (first use in this function)
libmpdemux/demux_mng.c:551: error: `mng_ret' undeclared (first use in this function)
libmpdemux/demux_mng.c:551: warning: implicit declaration of function `mng_display_reset'
libmpdemux/demux_mng.c:552: error: `MNG_NEEDTIMERWAIT' undeclared (first use in this function)
libmpdemux/demux_mng.c:613: confused by earlier errors, bailing out
make: *** [libmpdemux/demux_mng.o] Error 1

-compn



More information about the MPlayer-dev-eng mailing list