libavcodec/jpeg2000.c: Precinct size check removed
authorGautam Ramakrishnan <gautamramk@gmail.com>
Mon, 29 Jun 2020 17:59:06 +0000 (23:29 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 30 Jun 2020 18:35:23 +0000 (20:35 +0200)
commit579ac96a0422be18a10277aa6e8dd26207dc4d40
tree14fbe56818d4982d2afc7ea9710a58f8c2bb0bf1
parent9aef4ae97599c61845ed76d37e81e5a8c4b266ff
libavcodec/jpeg2000.c: Precinct size check removed

This patch removes a check which throws an error if
the log2 precinct width/height is 0. The standard allows
the first component to have 0 as the log2 width/height.
However, to ensure proper intialization of coding style,
an extra check has been added.

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