[FFmpeg-devel] [PATCH]Fix null pointer dereference on oom while decoding vc1

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Jun 29 16:06:53 CEST 2013


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

>          int buf_size2 = 0;
>          buf2 = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
> +        if (!buf2)
> +            return AVERROR(ENOMEM);

Merged by Michael.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list