[FFmpeg-devel] [PATCH] avcodec: increase AV_INPUT_BUFFER_PADDING_SIZE to 64

James Almer jamrial at gmail.com
Mon Jan 8 04:42:25 EET 2018


On 1/7/2018 11:06 PM, Michael Niedermayer wrote:
> On Sun, Jan 07, 2018 at 01:22:38AM -0300, James Almer wrote:
>> AVX-512 support has been introduced, and even if no functions currently
>> use zmm registers (able to load as much as 64 bytes of consecutive data
>> per instruction), they will be added eventually.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> Same rationale as when it was increased to 32 back in commit
>> 67d29da4bd23057a1f646568442a77b844cb2d1b.
>>
>>  libavcodec/avcodec.h              | 2 +-
>>  libavcodec/x86/hevc_sao.asm       | 2 +-
>>  libavcodec/x86/hevc_sao_10bit.asm | 2 +-
>>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> causes assertion failure:
> ./ffmpeg -i bgc.sub.dub.ogm x.webm
> 
> Assertion 64 <= 52 failed at libavformat/oggparseogm.c:109
> Aborted (core dumped)

How do you say this should be fixed? Why should
AV_INPUT_BUFFER_PADDING_SIZE be lower or equal to 52?

I have no idea about OGM, so i could use some help.


More information about the ffmpeg-devel mailing list