diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 177fa2eefb..b29c01aba4 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -175,7 +175,7 @@ void vfm_help(void){ 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; unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0; sh_video->codec=NULL; diff --git a/libmpcodecs/dec_video.h b/libmpcodecs/dec_video.h index 791992b578..cb5ac8b651 100644 --- a/libmpcodecs/dec_video.h +++ b/libmpcodecs/dec_video.h @@ -3,9 +3,6 @@ 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_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 *decode_video(sh_video_t *sh_video,unsigned char *start,int in_size,int drop_frame, double pts);