[FFmpeg-cvslog] r20310 - trunk/libavcodec/libopenjpeg.c

diego subversion
Mon Oct 19 14:47:53 CEST 2009


Author: diego
Date: Mon Oct 19 14:47:52 2009
New Revision: 20310

Log:
cosmetics: Remove pointless parentheses from return statement.

Modified:
   trunk/libavcodec/libopenjpeg.c

Modified: trunk/libavcodec/libopenjpeg.c
==============================================================================
--- trunk/libavcodec/libopenjpeg.c	Mon Oct 19 14:40:00 2009	(r20309)
+++ trunk/libavcodec/libopenjpeg.c	Mon Oct 19 14:47:52 2009	(r20310)
@@ -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)



More information about the ffmpeg-cvslog mailing list