double libavw_getaspectratio(void *stream);\r
void libavw_close(void *stream);\r
\r
-int libavw_decodeframe(void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow)\r
+static int libavw_decodeframe(void *stream, void *imagedata, unsigned int Rmask, unsigned int Gmask, unsigned int Bmask, unsigned int bytesperpixel, int imagebytesperrow)\r
{\r
int pixel_format = LIBAVW_PIXEL_FORMAT_BGR;\r
int errorcode;\r
}\r
\r
// IO wrapper\r
-int LibAvW_FS_Read(void *opaque, unsigned char *buf, int buf_size)\r
+static int LibAvW_FS_Read(void *opaque, unsigned char *buf, int buf_size)\r
{\r
return FS_Read((qfile_t *)opaque, buf, buf_size);\r
}\r
-fs_offset_t LibAvW_FS_Seek(void *opaque, fs_offset_t pos, int whence)\r
+static fs_offset_t LibAvW_FS_Seek(void *opaque, fs_offset_t pos, int whence)\r
{\r
return (fs_offset_t)FS_Seek((qfile_t *)opaque, pos, whence);\r
}\r
-fs_offset_t LibAvW_FS_SeekSize(void *opaque)\r
+static fs_offset_t LibAvW_FS_SeekSize(void *opaque)\r
{\r
return (fs_offset_t)FS_FileSize((qfile_t *)opaque);\r
}\r
\r
// open as DP video stream\r
-void *LibAvW_OpenVideo(clvideo_t *video, char *filename, const char **errorstring)\r
+static void *LibAvW_OpenVideo(clvideo_t *video, char *filename, const char **errorstring)\r
{\r
libavwstream_t *s;\r
char filebase[MAX_OSPATH], check[MAX_OSPATH];\r
return s;\r
}\r
\r
-void libavw_message(int level, const char *message)\r
+static void libavw_message(int level, const char *message)\r
{\r
if (level == LIBAVW_PRINT_WARNING)\r
Con_Printf("LibAvcodec warning: %s\n", message);\r
Con_Printf("LibAvcodec panic: %s\n", message);\r
}\r
\r
-qboolean LibAvW_OpenLibrary(void)\r
+static qboolean LibAvW_OpenLibrary(void)\r
{\r
int errorcode;\r
\r
return true;\r
}\r
\r
-void LibAvW_CloseLibrary(void)\r
+static void LibAvW_CloseLibrary(void)\r
{\r
Sys_UnloadLibrary(&libavw_dll);\r
}\r