From b5fa2f008ac3c9af92a0b26e11b995c419755447 Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 11 Dec 2007 19:56:40 +0000 Subject: [PATCH] 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 --- libmpcodecs/dec_video.c | 2 +- libmpcodecs/dec_video.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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);