[SCM] libav/experimental: cosmetics: Remove pointless parentheses from return statement.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:53:16 UTC 2013
The following commit has been merged in the experimental branch:
commit d91aac1c90486277f459af9161d6f3abb919f71d
Author: Diego Biurrun <diego at biurrun.de>
Date: Mon Oct 19 12:47:52 2009 +0000
cosmetics: Remove pointless parentheses from return statement.
Originally committed as revision 20310 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c
index 8717f67..7cf20af 100644
--- a/libavcodec/libopenjpeg.c
+++ b/libavcodec/libopenjpeg.c
@@ -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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list