File MPlayer-1.0rc4-warn.patch of Package MPlayer
--- a/libmpdemux/demuxer.c
+++ b/libmpdemux/demuxer.c
@@ -37,6 +37,7 @@
#include "stream/stream.h"
#include "demuxer.h"
+#include "demux_rtp.h"
#include "stheader.h"
#include "mf.h"
#include "demux_audio.h"
--- a/loader/ext.c
+++ b/loader/ext.c
@@ -444,7 +444,7 @@ LPVOID WINAPI VirtualAlloc(LPVOID addres
if (type&MEM_RESERVE && (unsigned)address&0xffff) {
size += (unsigned)address&0xffff;
- address = (unsigned)address&~0xffff;
+ address = (void*)((unsigned)address&~0xffff);
}
pgsz = sysconf(_SC_PAGESIZE);
if (type&MEM_COMMIT && (unsigned)address%pgsz) {
--- a/mencoder.c
+++ b/mencoder.c
@@ -246,7 +246,7 @@ static int edl_seek_type; ///< When non-
/* FIXME */
-static void mencoder_exit(int level, const char *how)
+static void __attribute__((noreturn)) mencoder_exit(int level, char *how)
{
if (how)
mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_ExitingHow, how);