On 06/24/2013 05:35 PM, Nicolas BERTRAND wrote: > On the commit msg replace cblk by code-block? to be more undestandable > Le 24/06/2013 17:14, Luca Barbato a écrit : >> From: Michael Niedermayer <[email protected]> >> >> Signed-off-by: Luca Barbato <[email protected]> >> --- >> libavcodec/jpeg2kdec.c | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/libavcodec/jpeg2kdec.c b/libavcodec/jpeg2kdec.c >> index a11efc1..91793ce 100644 >> --- a/libavcodec/jpeg2kdec.c >> +++ b/libavcodec/jpeg2kdec.c >> @@ -266,6 +266,12 @@ static int get_cox(Jpeg2KDecoderContext *s, >> Jpeg2KCodingStyle *c) >> c->log2_cblk_width = bytestream_get_byte(&s->buf) + 2; // cblk >> width >> c->log2_cblk_height = bytestream_get_byte(&s->buf) + 2; // cblk >> height >> >> + if (c->log2_cblk_width > 10 || c->log2_cblk_height > 10 || >> + c->log2_cblk_width + c->log2_cblk_height > 14) { > After verification, in spec replace 14 by 12
Thanks for checking =) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
