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:
parent
0d973ac8ff
commit
6a85ef1229
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue