1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

warning fixes, patch by Ulrich Hecht <uli@suse.de>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6189 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-05-25 13:22:28 +00:00
parent 1ae254811b
commit 086c324692
4 changed files with 8 additions and 4 deletions

View File

@ -4,4 +4,4 @@ extern int init_audio(sh_audio_t *sh_audio);
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);

View File

@ -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"

View File

@ -19,14 +19,14 @@ static unsigned int bgr_list[]={
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){

View File

@ -32,7 +32,7 @@ static unsigned int outfmt_list[]={
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,
NULL
0
};
static unsigned int find_best_out(vf_instance_t *vf){