On Tue, Nov 28, 2017 at 22:42:59 -0300, James Almer wrote:
> Subject: avformat/avc: return an error in ff_isom_write_avcc if the buffer 
> lenght is too small
                                                                             ^ 
length

> -    if (len > 6) {
> +    if (len < 6)
> +        return AVERROR_INVALIDDATA;

This changes behavior for len == 6, right? Does it matter?

Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to