fix else behaviour by adding braces

pull/1746/head
Isaac Connor 2017-01-11 14:18:56 -05:00
parent 132249e96d
commit 87daba346b
1 changed files with 3 additions and 2 deletions

View File

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