Revision d91aac1c libavcodec/libopenjpeg.c

View differences:

libavcodec/libopenjpeg.c
39 39

  
40 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 43
           image->comps[1].dx == image->comps[2].dx &&
44 44
           image->comps[0].dy == image->comps[1].dy &&
45 45
           image->comps[1].dy == image->comps[2].dy &&
46 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 50
static av_cold int libopenjpeg_decode_init(AVCodecContext *avctx)

Also available in: Unified diff