Make init_video function in dec_video static, it is not used outside that file.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25354 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-11 19:56:40 +00:00
parent 0febd8cf0f
commit b5fa2f008a
2 changed files with 1 additions and 4 deletions

View File

@ -175,7 +175,7 @@ void vfm_help(void){
mpcodecs_vd_drivers[i]->info->comment); mpcodecs_vd_drivers[i]->info->comment);
} }
int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ static int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){
int force = 0; int force = 0;
unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0; unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0;
sh_video->codec=NULL; sh_video->codec=NULL;

View File

@ -3,9 +3,6 @@
extern void vfm_help(void); extern void vfm_help(void);
extern int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list); extern int init_best_video_codec(sh_video_t *sh_video,char** video_codec_list,char** video_fm_list);
//extern int init_video(sh_video_t *sh_video, int *pitches);
extern int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status);
extern void uninit_video(sh_video_t *sh_video); extern void uninit_video(sh_video_t *sh_video);
extern void *decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame, double pts); extern void *decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame, double pts);