On 11/29/2017 11:09 AM, Moritz Barsnick wrote:
> 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?

Yes. Wasn't my intention to, so fixed locally.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to