mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 05:23:51 +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)
|
if(mFormatCtx)
|
||||||
av_close_input_file(mFormatCtx);
|
av_close_input_file(mFormatCtx);
|
||||||
mFormatCtx = NULL;
|
mFormatCtx = NULL;
|
||||||
|
|
||||||
|
mDataStream.setNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FFmpeg_Decoder::getInfo(int *samplerate, ChannelConfig *chans, SampleType *type)
|
void FFmpeg_Decoder::getInfo(int *samplerate, ChannelConfig *chans, SampleType *type)
|
||||||
|
|
Loading…
Reference in a new issue