Re: [FFmpeg-devel] [PATCH] libavcodec/jpeg2000.c: Precinct size check removed

2020-06-30 Thread Michael Niedermayer
On Mon, Jun 29, 2020 at 11:29:06PM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > 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 prope

[FFmpeg-devel] [PATCH] libavcodec/jpeg2000.c: Precinct size check removed

2020-06-29 Thread gautamramk
From: Gautam Ramakrishnan 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. --- libavcodec/jp