[MPlayer-dev-eng] main: [BUG?] draw_slice in vd_libmpeg2.c and [PATCH] some warning fixes
Roberto Togni
r_togni at libero.it
Sun Jun 1 21:53:00 CEST 2003
On 2003.06.01 21:00 Dominik Mierzejewski wrote:
> Hi.
> I finally got to building the main branch and of course many new
> warnings
> jumped at me.
[...]
>
> realrtsp/xbuffer.c:61: warning: implicit declaration of function
> `memcpy'
> -> missing #include <string.h>
>
Ok
>
> demux_realaud.c:104: warning: `return' with a value, in function
> returning void
> demux_realaud.c:119: warning: `return' with a value, in function
> returning void
> -> obvious
The right fix is changing the function return type to int (and
replacing NULL with 0), i'll commit it.
>
> pnm.c:205: warning: implicit declaration of function `send'
> pnm.c:241: warning: implicit declaration of function `recv'
> -> can someone explain why #include <sys/socket.h> was commented out?
>
Ok. AFAIR we changed all network code to use send/receive a few days
ago, probably this one was forgotten.
I leave the other ones to people who knows that code.
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list