[FFmpeg-devel] [PATCH 2/5] avformat/mpeg: Add padding to extradata
Michael Niedermayer
michael at niedermayer.cc
Thu Oct 24 20:51:46 EEST 2019
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 <andreas.rheinhardt at gmail.com>
> ---
> I did not change the extradata_size in order to explicitly include a
> zero byte; i.e. the first byte of the padding is the zero byte ending
> the string. This is just like now.
>
> libavformat/mpeg.c | 12 +++++-------
> 1 file changed, 5 insertions(+), 7 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191024/89210273/attachment.sig>
More information about the ffmpeg-devel
mailing list