Browse Source

Fix for fCurPosition being uninitialized garbage

Adam Johnson 14 years ago
parent
commit
e59e3258c1
  1. 2
      Sources/Plasma/PubUtilLib/plAudioCore/plCachedFileReader.cpp

2
Sources/Plasma/PubUtilLib/plAudioCore/plCachedFileReader.cpp

@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
plCachedFileReader::plCachedFileReader(const char *path, plCachedFileReader::plCachedFileReader(const char *path,
plAudioCore::ChannelSelect whichChan) plAudioCore::ChannelSelect whichChan)
: fFileHandle(nil) : fFileHandle(nil), fCurPosition(0)
{ {
hsAssert(path != nil, "Invalid path specified in plCachedFileReader"); hsAssert(path != nil, "Invalid path specified in plCachedFileReader");

Loading…
Cancel
Save