From 87daba346b830f59f71edbd4e6faacf0de0f97aa Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 11 Jan 2017 14:18:56 -0500 Subject: [PATCH] fix else behaviour by adding braces --- src/zm_mpeg.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/zm_mpeg.cpp b/src/zm_mpeg.cpp index 7b46cd397..3a8ecdaa9 100644 --- a/src/zm_mpeg.cpp +++ b/src/zm_mpeg.cpp @@ -42,10 +42,11 @@ VideoStream::MimeData VideoStream::mime_data[] = { void VideoStream::Initialise( ) { - if ( logDebugging() ) + if ( logDebugging() ) { av_log_set_level( AV_LOG_DEBUG ); - else + } else { av_log_set_level( AV_LOG_QUIET ); + } av_register_all( ); #if LIBAVFORMAT_VERSION_CHECK(53, 13, 0, 19, 0)