Mercurial > mplayer.hg
changeset 6188:39a9515c633a
warning fixes, patch by Ulrich Hecht <uli@suse.de>
author | arpi |
---|---|
date | Sat, 25 May 2002 13:22:28 +0000 |
parents | 50858d90c8d0 |
children | 838380d56166 |
files | libmpcodecs/dec_audio.h libmpcodecs/vf.c libmpcodecs/vf_palette.c libmpcodecs/vf_scale.c |
diffstat | 4 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.h Sat May 25 12:56:56 2002 +0000 +++ b/libmpcodecs/dec_audio.h Sat May 25 13:22:28 2002 +0000 @@ -4,4 +4,4 @@ extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen); extern void resync_audio_stream(sh_audio_t *sh_audio); extern void skip_audio_frame(sh_audio_t *sh_audio); - +extern void uninit_audio(sh_audio_t *sh_audio);
--- a/libmpcodecs/vf.c Sat May 25 12:56:56 2002 +0000 +++ b/libmpcodecs/vf.c Sat May 25 13:22:28 2002 +0000 @@ -2,6 +2,10 @@ #include <stdlib.h> #include <string.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif + #include "../config.h" #include "../mp_msg.h"
--- a/libmpcodecs/vf_palette.c Sat May 25 12:56:56 2002 +0000 +++ b/libmpcodecs/vf_palette.c Sat May 25 13:22:28 2002 +0000 @@ -19,14 +19,14 @@ IMGFMT_BGR24, IMGFMT_BGR16, IMGFMT_BGR15, - NULL + 0 }; static unsigned int rgb_list[]={ IMGFMT_RGB32, IMGFMT_RGB24, IMGFMT_RGB16, IMGFMT_RGB15, - NULL + 0 }; static unsigned int find_best(struct vf_instance_s* vf, unsigned int fmt){