# HG changeset patch # User diego # Date 1255956472 0 # Node ID a050e8857f007b61bf03dd8125a1ddd6b871240a # Parent f1d179ba9e7ae282ddba0b868944e35504796543 cosmetics: Remove pointless parentheses from return statement. diff -r f1d179ba9e7a -r a050e8857f00 libopenjpeg.c --- 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)