changeset 10436:a050e8857f00 libavcodec

cosmetics: Remove pointless parentheses from return statement.
author diego
date Mon, 19 Oct 2009 12:47:52 +0000
parents f1d179ba9e7a
children 00bd0c4c1489
files libopenjpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libopenjpeg.c	Mon Oct 19 09:35:19 2009 +0000
+++ b/libopenjpeg.c	Mon Oct 19 12:47:52 2009 +0000
@@ -39,12 +39,12 @@
 
 static int check_image_attributes(opj_image_t *image)
 {
-    return(image->comps[0].dx == image->comps[1].dx &&
+    return image->comps[0].dx == image->comps[1].dx &&
            image->comps[1].dx == image->comps[2].dx &&
            image->comps[0].dy == image->comps[1].dy &&
            image->comps[1].dy == image->comps[2].dy &&
            image->comps[0].prec == image->comps[1].prec &&
-           image->comps[1].prec == image->comps[2].prec);
+           image->comps[1].prec == image->comps[2].prec;
 }
 
 static av_cold int libopenjpeg_decode_init(AVCodecContext *avctx)