diff --git a/libavcodec/lzo.c b/libavcodec/lzo.c index 46166a1133..ab7766b575 100644 --- a/libavcodec/lzo.c +++ b/libavcodec/lzo.c @@ -34,7 +34,7 @@ static inline int get_byte(LZOContext *c) { if (c->in < c->in_end) return *c->in++; c->error |= LZO_INPUT_DEPLETED; - return -1; + return 0; } /**