On 15 Feb 2014, at 20:09, Luca Barbato <[email protected]> wrote:

> @@ -191,12 +193,16 @@ static void decode_plane(FFV1Context *s, uint8_t *src,
> 
> // { START_TIMER
>         if (s->avctx->bits_per_raw_sample <= 8) {
> -            decode_line(s, w, sample, plane_index, 8);
> +            ret = decode_line(s, w, sample, plane_index, 8);
> +            if (ret < 0)
> +                return ret;
>             for (x = 0; x < w; x++)
>                 src[x + stride * y] = sample[1][x];
>         } else {

This is not an assert, AFAICT. The commit message needs fixing, IMO.

Tim
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to