libavcodec/jpeg2000dec.c: Modify image dimensions
authorGautam Ramakrishnan <gautamramk@gmail.com>
Sun, 21 Jun 2020 18:42:05 +0000 (00:12 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 Jun 2020 10:43:51 +0000 (12:43 +0200)
commit2760de16bc91449b617e3c8dd0d1db1866ba72a8
treeafcd82f67de8187c09f492520cf2240ce6a15d80
parentb35968e06078c452cac562e016df5b39c3945176
libavcodec/jpeg2000dec.c: Modify image dimensions

Reduce image size of the image if all components have
a non zero sample separation. This is to replicate the
output of opj_decompress.

Improves: p1_01.j2k

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeg2000dec.c