mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -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
|
//Only once execution
|
||||||
m_blnRunning=true;
|
m_blnRunning=true;
|
||||||
|
|
||||||
avformat_close_input(&m_objFormatCtx);
|
// maybe done in the avcodec_close
|
||||||
m_objFormatCtx=NULL;
|
// avformat_close_input(&m_objFormatCtx);
|
||||||
|
// m_objFormatCtx=NULL;
|
||||||
|
|
||||||
if(m_objDecoderCtx)
|
if(m_objDecoderCtx)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user