summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_ffmpeg.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 16:16:42 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 16:16:42 +0000
commita6207aaa68400ffcba36c7abc6a0cd31ed9428e7 (patch)
tree025cabc86a22ff03a1618024104d501b5e2c5a4c /libmpcodecs/vd_ffmpeg.c
parent465f535c51f0b3c9050366fb4930c8a465a87f42 (diff)
downloadmpv-a6207aaa68400ffcba36c7abc6a0cd31ed9428e7.tar.bz2
mpv-a6207aaa68400ffcba36c7abc6a0cd31ed9428e7.tar.xz
libmpcodecs: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30597 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_ffmpeg.c')
-rw-r--r--libmpcodecs/vd_ffmpeg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 8c1e9ae9c3..29394317fe 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -172,7 +172,8 @@ static int control(sh_video_t *sh, int cmd, void *arg, ...){
return CONTROL_UNKNOWN;
}
-void mp_msp_av_log_callback(void *ptr, int level, const char *fmt, va_list vl)
+static void mp_msp_av_log_callback(void *ptr, int level, const char *fmt,
+ va_list vl)
{
static int print_prefix=1;
AVClass *avc= ptr ? *(AVClass **)ptr : NULL;
@@ -766,7 +767,8 @@ typedef struct dp_hdr_s {
uint32_t chunktab; // offset to chunk offset array
} dp_hdr_t;
-void swap_palette(void *pal) {
+static void swap_palette(void *pal)
+{
int i;
uint32_t *p = pal;
for (i = 0; i < AVPALETTE_COUNT; i++)