make MovieTexture_FFMpeg::RegisterProtocols available

This commit is contained in:
Glenn Maynard
2004-10-18 02:55:17 +00:00
parent 7d108e97e8
commit 791fe80ef9
2 changed files with 3 additions and 1 deletions
@@ -560,7 +560,7 @@ static avcodec::URLProtocol RageProtocol =
NULL NULL
}; };
static void RegisterProtocols() void MovieTexture_FFMpeg::RegisterProtocols()
{ {
static bool Done = false; static bool Done = false;
if( Done ) if( Done )
@@ -35,6 +35,8 @@ public:
void SetLooping(bool looping=true) { m_bLoop = looping; } void SetLooping(bool looping=true) { m_bLoop = looping; }
unsigned GetTexHandle() const { return m_uTexHandle; } unsigned GetTexHandle() const { return m_uTexHandle; }
static void RegisterProtocols();
private: private:
FFMpeg_Helper *decoder; FFMpeg_Helper *decoder;