1
0
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:
f4exb 2021-03-29 03:54:33 +02:00
parent 29506a1d65
commit 66ff64f654

View File

@ -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;