libavcodec/jpeg2000dec.c Fixed WRITE_FRAME and tile co-ordinates:
authorGautam Ramakrishnan <gautamramk@gmail.com>
Sun, 21 Jun 2020 18:42:06 +0000 (00:12 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 Jun 2020 10:44:09 +0000 (12:44 +0200)
commit42fdf402a79a1af4c500757106abfb9154bbcd42
treeca66f65b88fdd3d4205eeda19c205fe04caab01d
parent2760de16bc91449b617e3c8dd0d1db1866ba72a8
libavcodec/jpeg2000dec.c Fixed WRITE_FRAME and tile co-ordinates:

libopenjpeg2000 uses ceiling division while dividing tile
co-ordinates with the sample separation. Also, corrections
were made to the WRITE_FRAME macro.

Improves: p1_01.j2k and p1_07.j2k

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