mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
Set Ogre's data stream to NULL when closing the audio file
This commit is contained in:
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…
x
Reference in New Issue
Block a user