mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 13:21:50 -05:00
DATV demod: rempved rogue initialization of AV frame
This commit is contained in:
parent
29506a1d65
commit
66ff64f654
@ -474,7 +474,7 @@ bool DATVideoRender::RenderStream()
|
||||
//Video channel
|
||||
if ((packet.stream_index == m_videoStreamIndex) && (!m_videoMute))
|
||||
{
|
||||
memset(m_frame, 0, sizeof(AVFrame));
|
||||
// memset(m_frame, 0, sizeof(AVFrame));
|
||||
av_frame_unref(m_frame);
|
||||
|
||||
gotFrame = 0;
|
||||
@ -579,7 +579,7 @@ bool DATVideoRender::RenderStream()
|
||||
m_updateAudioResampler = false;
|
||||
}
|
||||
|
||||
memset(m_frame, 0, sizeof(AVFrame));
|
||||
// memset(m_frame, 0, sizeof(AVFrame));
|
||||
av_frame_unref(m_frame);
|
||||
gotFrame = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user