Revision 032f4068

View differences:

libavutil/lzo.c
175 175
    int state= 0;
176 176
    int x;
177 177
    LZOContext c;
178
    if (!*outlen || !*inlen) {
179
        int res = 0;
180
        if (!*outlen)
181
            res |= AV_LZO_OUTPUT_FULL;
182
        if (!*inlen)
183
            res |= AV_LZO_INPUT_DEPLETED;
184
        return res;
185
    }
178 186
    c.in = in;
179 187
    c.in_end = (const uint8_t *)in + *inlen;
180 188
    c.out = c.out_start = out;

Also available in: Unified diff