]> git.sesse.net Git - mlt/commitdiff
Add parenthesis to fix warning.
authorDan Dennedy <dan@dennedy.org>
Sun, 25 Sep 2011 20:11:54 +0000 (13:11 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 25 Sep 2011 23:11:51 +0000 (16:11 -0700)
src/modules/avformat/consumer_avformat.c

index a22202b21f461b46c3dfadb9090dcc012b95a789..b02e202ad7d2859b4db35c215040e1b0ed0b0972 100644 (file)
@@ -411,8 +411,8 @@ static void apply_properties( void *obj, mlt_properties properties, int flags )
 
                // If option not found, see if it was prefixed with a or v (-vb)
                if ( !opt && (
-                       opt_name[0] == 'v' && ( flags & AV_OPT_FLAG_VIDEO_PARAM ) ||
-                       opt_name[0] == 'a' && ( flags & AV_OPT_FLAG_AUDIO_PARAM ) ) )
+                       ( opt_name[0] == 'v' && ( flags & AV_OPT_FLAG_VIDEO_PARAM ) ) ||
+                       ( opt_name[0] == 'a' && ( flags & AV_OPT_FLAG_AUDIO_PARAM ) ) ) )
                        opt = av_find_opt( obj, ++opt_name, NULL, flags, flags );
                // Apply option if found
                if ( opt )