Build fails in MPC module
Salut! For the latest few commits, the build fails to me with the following error:
demux/mpc.c: In function 'Demux':
demux/mpc.c:227:14: error: implicit declaration of function 'block_New'; did you mean 'block_FifoNew'? [-Werror=implicit-function-declaration]
p_data = block_New( p_demux,
^~~~~~~~~
block_FifoNew
demux/mpc.c:227:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
p_data = block_New( p_demux,
^
demux/mpc.c: In function 'Control':
demux/mpc.c:287:13: error: 'else' without a previous 'if'
else
^~~~
cc1: some warnings being treated as errors
make[4]: *** [Makefile:18929: demux/mpc.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
demux/image.c: In function 'IsTarga':
demux/image.c:563:5: warning: ignoring return value of 'vlc_stream_Seek', declared with attribute warn_unused_result [-Wunused-result]
vlc_stream_Seek(s, position);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
demux/image.c: In function 'IsWebP':
demux/image.c:433:5: warning: ignoring return value of 'vlc_stream_Seek', declared with attribute warn_unused_result [-Wunused-result]
vlc_stream_Seek(s, 20);
^~~~~~~~~~~~~~~~~~~~~~
Edited by Jean-Baptiste Kempf