Mercurial > libavcodec.hg
comparison libopenjpeg.c @ 10436:a050e8857f00 libavcodec
cosmetics: Remove pointless parentheses from return statement.
author | diego |
---|---|
date | Mon, 19 Oct 2009 12:47:52 +0000 |
parents | 00581e706e1d |
children | ca71c924b65f |
comparison
equal
deleted
inserted
replaced
10435:f1d179ba9e7a | 10436:a050e8857f00 |
---|---|
37 AVFrame image; | 37 AVFrame image; |
38 } LibOpenJPEGContext; | 38 } LibOpenJPEGContext; |
39 | 39 |
40 static int check_image_attributes(opj_image_t *image) | 40 static int check_image_attributes(opj_image_t *image) |
41 { | 41 { |
42 return(image->comps[0].dx == image->comps[1].dx && | 42 return image->comps[0].dx == image->comps[1].dx && |
43 image->comps[1].dx == image->comps[2].dx && | 43 image->comps[1].dx == image->comps[2].dx && |
44 image->comps[0].dy == image->comps[1].dy && | 44 image->comps[0].dy == image->comps[1].dy && |
45 image->comps[1].dy == image->comps[2].dy && | 45 image->comps[1].dy == image->comps[2].dy && |
46 image->comps[0].prec == image->comps[1].prec && | 46 image->comps[0].prec == image->comps[1].prec && |
47 image->comps[1].prec == image->comps[2].prec); | 47 image->comps[1].prec == image->comps[2].prec; |
48 } | 48 } |
49 | 49 |
50 static av_cold int libopenjpeg_decode_init(AVCodecContext *avctx) | 50 static av_cold int libopenjpeg_decode_init(AVCodecContext *avctx) |
51 { | 51 { |
52 LibOpenJPEGContext *ctx = avctx->priv_data; | 52 LibOpenJPEGContext *ctx = avctx->priv_data; |