removed some warnings

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1390 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2004-06-17 02:25:42 +00:00
parent a58d30cd63
commit 8298d4c4a8
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ typedef struct tfb_videodecoderfunc
{
const char* (* GetName) (void);
bool (* InitModule) (int flags);
void (* TermModule) ();
void (* TermModule) (void);
uint32 (* GetStructSize) (void);
int (* GetError) (THIS_PTR);
bool (* Init) (THIS_PTR, TFB_PixelFormat* fmt);
+4 -3
View File
@@ -60,7 +60,7 @@ typedef struct
} VIDEO_INPUT_STATE;
bool
TFB_InitVideoPlayer ()
TFB_InitVideoPlayer (void)
{
// creation probably needs better handling
vp_interthread_lock = CreateSemaphore (1, "inter-thread param lock",
@@ -69,13 +69,13 @@ TFB_InitVideoPlayer ()
}
void
TFB_UninitVideoPlayer ()
TFB_UninitVideoPlayer (void)
{
DestroySemaphore (vp_interthread_lock);
}
void
TFB_FadeClearScreen ()
TFB_FadeClearScreen (void)
{
BYTE xform_buf[1];
RECT r = {{0, 0}, {SCREEN_WIDTH, SCREEN_HEIGHT}};
@@ -522,3 +522,4 @@ vp_QueueBuffer (TFB_SoundSample* sample, audio_Object buffer)
TFB_TagBuffer (sample, buffer,
(void*) SoundDecoder_GetFrame (sample->decoder));
}
+1 -1
View File
@@ -21,7 +21,7 @@
bool TFB_InitVideoPlayer (void);
void TFB_UninitVideoPlayer (void);
void TFB_FadeClearScreen ();
void TFB_FadeClearScreen (void);
bool TFB_PlayVideo (VIDEO_REF VidRef, uint32 x, uint32 y);
void TFB_StopVideo (VIDEO_REF VidRef);
bool TFB_VideoPlaying (VIDEO_REF VidRef);