[FFmpeg-devel] [PATCH 1/5] avformat/avc: return an error in ff_isom_write_avcc if the buffer lenght is too small
James Almer
jamrial at gmail.com
Wed Nov 29 16:24:31 EET 2017
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.
More information about the ffmpeg-devel
mailing list