Re: [FFmpeg-devel] [PATCH 03/20] avformat/matroskaenc: Remove useless AVIOContext

2020-01-27 Thread James Almer
On 12/31/2019 9:58 PM, Andreas Rheinhardt wrote: > Write a few numbers directly via AV_WB32 instead of using an AVIOContext > (that is initialized only for this very purpose) to write these numbers > at known offsets into a fixed buffer. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/

[FFmpeg-devel] [PATCH 03/20] avformat/matroskaenc: Remove useless AVIOContext

2019-12-31 Thread Andreas Rheinhardt
Write a few numbers directly via AV_WB32 instead of using an AVIOContext (that is initialized only for this very purpose) to write these numbers at known offsets into a fixed buffer. Signed-off-by: Andreas Rheinhardt --- libavformat/matroskaenc.c | 23 ++- 1 file changed, 10