Commit 438c45c0 authored by Michael Niedermayer's avatar Michael Niedermayer

j2kdec: fix used bytestream function

Found-by: durandal_1707
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d42106c3
......@@ -331,7 +331,7 @@ static int get_cod(Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *c, uint8_t *p
tmp.csty = bytestream2_get_byteu(&s->g);
// get progression order
tmp.prog_order = bytestream_get_byte(&s->g);
tmp.prog_order = bytestream2_get_byteu(&s->g);
if (tmp.prog_order){
av_log(s->avctx, AV_LOG_ERROR, "only LRCP progression supported\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment