mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-19 05:49:09 +02:00
j2kdec: fix used bytestream function
Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d42106c3ac
commit
438c45c08a
@ -331,7 +331,7 @@ static int get_cod(Jpeg2000DecoderContext *s, Jpeg2000CodingStyle *c, uint8_t *p
|
|||||||
tmp.csty = bytestream2_get_byteu(&s->g);
|
tmp.csty = bytestream2_get_byteu(&s->g);
|
||||||
|
|
||||||
// get progression order
|
// get progression order
|
||||||
tmp.prog_order = bytestream_get_byte(&s->g);
|
tmp.prog_order = bytestream2_get_byteu(&s->g);
|
||||||
if (tmp.prog_order){
|
if (tmp.prog_order){
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "only LRCP progression supported\n");
|
av_log(s->avctx, AV_LOG_ERROR, "only LRCP progression supported\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user