Re: [FFmpeg-devel] [PATCH 2/5] avformat/mpeg: Add padding to extradata

2019-10-24 Thread Michael Niedermayer
On Tue, Oct 22, 2019 at 03:16:42PM +0200, Andreas Rheinhardt wrote: > Extradata is supposed to be padded with AV_INPUT_BUFFER_PADDING_SIZE bytes, > yet the VobSub demuxer used av_strdup for the allocation of extradata. > This has been changed. > > Signed-off-by: Andreas Rheinhardt > --- > I did n

[FFmpeg-devel] [PATCH 2/5] avformat/mpeg: Add padding to extradata

2019-10-22 Thread Andreas Rheinhardt
Extradata is supposed to be padded with AV_INPUT_BUFFER_PADDING_SIZE bytes, yet the VobSub demuxer used av_strdup for the allocation of extradata. This has been changed. Signed-off-by: Andreas Rheinhardt --- I did not change the extradata_size in order to explicitly include a zero byte; i.e. the