Commit abe17c69 authored by Michael Niedermayer's avatar Michael Niedermayer

j2kdec: debug markers support.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c2553a55
......@@ -910,6 +910,8 @@ static int decode_codestream(J2kDecoderContext *s)
}
marker = bytestream_get_be16(&s->buf);
if(s->avctx->debug & FF_DEBUG_STARTCODE)
av_log(s->avctx, AV_LOG_DEBUG, "marker 0x%.4X at pos 0x%x\n", marker, s->buf - s->buf_start - 4);
oldbuf = s->buf;
if (marker == J2K_SOD){
......
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