From bdf546c7c638781d33fd0e56e1a08da09ea3cd58 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 25 Feb 2010 22:19:32 +0000 Subject: Remove declarations of functions now already declared in stream.h git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30733 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/cache2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/stream/cache2.c b/stream/cache2.c index 00415ad9fe..7e42c6b60e 100644 --- a/stream/cache2.c +++ b/stream/cache2.c @@ -58,9 +58,6 @@ static void *ThreadProc(void *s); #include "cache2.h" extern int use_gui; -int stream_fill_buffer(stream_t *s); -int stream_seek_long(stream_t *s,off_t pos); - typedef struct { // constats: unsigned char *buffer; // base pointer of the alllocated buffer memory -- cgit v1.2.3 From 25f353346daf079a2f2ae1b993b576dca9712a7d Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 25 Feb 2010 22:23:58 +0000 Subject: Add const to mpvdec declaration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30734 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/dec_video.c | 2 +- libmpcodecs/vd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 3572565556..44fb2b3d22 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -57,7 +57,7 @@ int field_dominance=-1; int divx_quality=0; -vd_functions_t* mpvdec=NULL; +const vd_functions_t* mpvdec=NULL; int get_video_quality_max(sh_video_t *sh_video){ vf_instance_t* vf=sh_video->vfilter; diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 49acaf9315..096de92806 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -144,7 +144,7 @@ int vo_gamma_contrast = 1000; int vo_gamma_saturation = 1000; int vo_gamma_hue = 1000; -extern vd_functions_t* mpvdec; // FIXME! +extern const vd_functions_t* mpvdec; // FIXME! #define SCREEN_SIZE_X 1 #define SCREEN_SIZE_Y 1 -- cgit v1.2.3