[FFmpeg-devel] [PATCH 2/4] avcodec/a64multienc: don't set incorrect packet size

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Feb 23 12:21:51 CET 2015


On 23.02.2015 01:41, Michael Niedermayer wrote:
>> Subject: [PATCH 2/4] avcodec/a64multienc: don't set incorrect packet size
>>
>> This fixes invalid reads of the packet buffer in av_dup_packet.
>
> This leaves the packet size wrong for mc_use_5col = 0
> The quoted commit broke the size calculation quite completely
> ill try to fix it

Indeed. Your patch [1] is the correct fix.

Best regards,
Andreas


1: 
https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=d96142e9af92ded84f2580620c571ab96c4bb657


More information about the ffmpeg-devel mailing list