Commit a7df414e authored by kostya's avatar kostya

Limit output sample to 0..maxval, fixes decoding of T16E0.JLS

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6908 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cebfe291
......@@ -384,6 +384,7 @@ static inline void ls_decode_line(JLSState *state, MJpegDecodeContext *s, void *
pred = clip(pred, 0, state->maxval);
}
pred &= state->maxval;
W(dst, x, pred);
x += stride;
}
......
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