On Mon, Jan 19, 2015 at 01:32:14PM +0100, Luca Barbato wrote:
> --- a/libavcodec/vmdvideo.c
> +++ b/libavcodec/vmdvideo.c
> @@ -245,6 +245,12 @@ static int rle_region(VmdVideoContext *s, GetByteContext
> *gb,
> len = bytestream2_get_byte(gb);
> if (len & 0x80) {
> len = (len & 0x7F) + 1;
> + if (ofs + len > frame_width) {
> + av_log(s->avctx, AV_LOG_ERROR,
> + "offset > width (%d > %d)\n",
> + ofs, frame_width);
Indentation is off.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel