1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

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

This commit is contained in:
Chris Robinson 2012-03-21 14:46:29 -07:00
parent 0d973ac8ff
commit 6a85ef1229

View file

@ -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)