diff options
-rw-r--r-- | libavcodec/mjpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mjpeg.h b/libavcodec/mjpeg.h index 3c88471bab..ba1173380c 100644 --- a/libavcodec/mjpeg.h +++ b/libavcodec/mjpeg.h @@ -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;\ |