diff --git a/plugins/channelrx/demoddatv/datvideorender.cpp b/plugins/channelrx/demoddatv/datvideorender.cpp index efe47e4dc..c1e9b9525 100644 --- a/plugins/channelrx/demoddatv/datvideorender.cpp +++ b/plugins/channelrx/demoddatv/datvideorender.cpp @@ -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) {