Set Ogre's data stream to NULL when closing the audio file

actorid
Chris Robinson 13 years ago
parent 0d973ac8ff
commit 6a85ef1229

@ -309,6 +309,8 @@ void FFmpeg_Decoder::close()
if(mFormatCtx)
av_close_input_file(mFormatCtx);
mFormatCtx = NULL;
mDataStream.setNull();
}
void FFmpeg_Decoder::getInfo(int *samplerate, ChannelConfig *chans, SampleType *type)

Loading…
Cancel
Save