1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

DATV demod: tried to fix segfault on avcodec_close()

This commit is contained in:
f4exb 2018-03-04 02:35:15 +01:00
parent 28e9df5fe8
commit c062c99c2a

View File

@ -561,8 +561,9 @@ bool DATVideoRender::CloseStream(QIODevice *objDevice)
//Only once execution
m_blnRunning=true;
avformat_close_input(&m_objFormatCtx);
m_objFormatCtx=NULL;
// maybe done in the avcodec_close
// avformat_close_input(&m_objFormatCtx);
// m_objFormatCtx=NULL;
if(m_objDecoderCtx)
{