lavc: fix parentheses placement in avcodec_open2().
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 9 Aug 2011 06:41:50 +0000 (23:41 -0700)
committerAnton Khirnov <anton@khirnov.net>
Wed, 10 Aug 2011 14:57:33 +0000 (16:57 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/utils.c

index 64f623c..0abab9a 100644 (file)
@@ -513,7 +513,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD
             av_opt_set_defaults(avctx->priv_data);
         }
       }
-      if (codec->priv_class && (ret = av_opt_set_dict(avctx->priv_data, &tmp) < 0))
+      if (codec->priv_class && (ret = av_opt_set_dict(avctx->priv_data, &tmp)) < 0)
           goto free_and_end;
     } else {
         avctx->priv_data = NULL;