mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
DATV demod: tried to fix segfault on avcodec_close()
This commit is contained in:
parent
28e9df5fe8
commit
c062c99c2a
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user