mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
uninitialized variables-sfx
This commit is contained in:
parent
7392d598da
commit
a1a6143e01
11 changed files with 32 additions and 16 deletions
|
|
@ -40,6 +40,7 @@ SFXVorbisStream* SFXVorbisStream::create( Stream *stream )
|
|||
|
||||
SFXVorbisStream::SFXVorbisStream()
|
||||
: mVF( NULL ),
|
||||
mBitstream(-1),
|
||||
mBytesRead( 0 )
|
||||
{
|
||||
}
|
||||
|
|
@ -47,6 +48,9 @@ SFXVorbisStream::SFXVorbisStream()
|
|||
SFXVorbisStream::SFXVorbisStream( const SFXVorbisStream& cloneFrom )
|
||||
: Parent( cloneFrom )
|
||||
{
|
||||
mVF = NULL;
|
||||
mBitstream = -1;
|
||||
mBytesRead = 0;
|
||||
if( !mStream->hasCapability( Stream::StreamPosition ) )
|
||||
{
|
||||
Con::errorf( "SFXVorbisStream::SFXVorbisStream() - Source stream does not allow seeking" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue