Browse Source

j2kdec: fix used bytestream function

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
438c45c08a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/j2kdec.c

+ 1
- 1
libavcodec/j2kdec.c View File

@@ -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");
}


Loading…
Cancel
Save