OSDN Git Service

cosmetics: Remove pointless parentheses from return statement.
authorDiego Biurrun <diego@biurrun.de>
Mon, 19 Oct 2009 12:47:52 +0000 (12:47 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 19 Oct 2009 12:47:52 +0000 (12:47 +0000)
Originally committed as revision 20310 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/libopenjpeg.c

index 8717f67..7cf20af 100644 (file)
@@ -39,12 +39,12 @@ typedef struct {
 
 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)