[MPlayer-cvslog] r25354 - in trunk/libmpcodecs: dec_video.c dec_video.h

reimar subversion at mplayerhq.hu
Tue Dec 11 20:56:40 CET 2007


Author: reimar
Date: Tue Dec 11 20:56:40 2007
New Revision: 25354

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


Modified:
   trunk/libmpcodecs/dec_video.c
   trunk/libmpcodecs/dec_video.h

Modified: trunk/libmpcodecs/dec_video.c
==============================================================================
--- trunk/libmpcodecs/dec_video.c	(original)
+++ trunk/libmpcodecs/dec_video.c	Tue Dec 11 20:56:40 2007
@@ -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;

Modified: trunk/libmpcodecs/dec_video.h
==============================================================================
--- trunk/libmpcodecs/dec_video.h	(original)
+++ trunk/libmpcodecs/dec_video.h	Tue Dec 11 20:56:40 2007
@@ -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);



More information about the MPlayer-cvslog mailing list