- zapit: minor formattings

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-10-20 12:37:49 +02:00
committed by Thilo Graf
parent 886fe53682
commit f489052af5

View File

@@ -2913,20 +2913,24 @@ void CZapit::run()
for (unsigned i=0; i < (unsigned int) g_info.hw_caps->pip_devs; i++) for (unsigned i=0; i < (unsigned int) g_info.hw_caps->pip_devs; i++)
{ {
StopPip(i); StopPip(i);
if (pipVideoDecoder[i]) { if (pipVideoDecoder[i])
{
delete pipVideoDecoder[i]; delete pipVideoDecoder[i];
pipVideoDecoder[i] = NULL; pipVideoDecoder[i] = NULL;
} }
if (pipVideoDemux[i]) { if (pipVideoDemux[i])
{
delete pipVideoDemux[i]; delete pipVideoDemux[i];
pipVideoDemux[i] = NULL; pipVideoDemux[i] = NULL;
} }
#if !HAVE_CST_HARDWARE #if !HAVE_CST_HARDWARE
if (pipAudioDecoder[i]) { if (pipAudioDecoder[i])
{
delete pipAudioDecoder[i]; delete pipAudioDecoder[i];
pipAudioDecoder[i] = NULL; pipAudioDecoder[i] = NULL;
} }
if (pipAudioDemux[i]) { if (pipAudioDemux[i])
{
delete pipAudioDemux[i]; delete pipAudioDemux[i];
pipAudioDemux[i] = NULL; pipAudioDemux[i] = NULL;
} }