changeset 25326:054ec3ddc5e1

Make init_video function in dec_video static, it is not used outside that file.
author reimar
date Tue, 11 Dec 2007 19:56:40 +0000
parents 7c7885350d89
children a7b716b53e9f
files libmpcodecs/dec_video.c libmpcodecs/dec_video.h
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c	Tue Dec 11 19:54:35 2007 +0000
+++ b/libmpcodecs/dec_video.c	Tue Dec 11 19:56:40 2007 +0000
@@ -175,7 +175,7 @@
 	    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;
--- a/libmpcodecs/dec_video.h	Tue Dec 11 19:54:35 2007 +0000
+++ b/libmpcodecs/dec_video.h	Tue Dec 11 19:56:40 2007 +0000
@@ -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);