summaryrefslogtreecommitdiff
path: root/libavcodec/libopenjpeg.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-10-19 12:47:52 +0000
committerDiego Biurrun <diego@biurrun.de>2009-10-19 12:47:52 +0000
commitd91aac1c90486277f459af9161d6f3abb919f71d (patch)
tree2765d34613c47ffc806ea1c33f539064e4868396 /libavcodec/libopenjpeg.c
parent933018e249ab77696ebfff54d8de527ad9b57604 (diff)
cosmetics: Remove pointless parentheses from return statement.
Originally committed as revision 20310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libopenjpeg.c')
-rw-r--r--libavcodec/libopenjpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c
index 8717f67048..7cf20af809 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)