Commit 5152beeb authored by Michael Niedermayer's avatar Michael Niedermayer

ljpeg: Add predictor=0 support.

Fixed first half of ticket889
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 877f6eb5
......@@ -127,6 +127,7 @@ static inline void put_marker(PutBitContext *p, int code)
#define PREDICT(ret, topleft, top, left, predictor)\
switch(predictor){\
case 0: ret= 0; break;\
case 1: ret= left; break;\
case 2: ret= top; break;\
case 3: ret= topleft; break;\
......
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