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:
parent
1ae254811b
commit
086c324692
@ -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);
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user