Re: [FFmpeg-devel] [PATCH 3/3] avformat/dss: Remove unnecessary allocation

2020-04-03 Thread Michael Niedermayer
On Thu, Apr 02, 2020 at 07:17:40PM +0200, Andreas Rheinhardt wrote: > Put a buffer with a known fixed size into the demuxer's context instead > of allocating it separately. This also allows to remove the demuxer's > read_close()-function. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat

[FFmpeg-devel] [PATCH 3/3] avformat/dss: Remove unnecessary allocation

2020-04-02 Thread Andreas Rheinhardt
Put a buffer with a known fixed size into the demuxer's context instead of allocating it separately. This also allows to remove the demuxer's read_close()-function. Signed-off-by: Andreas Rheinhardt --- libavformat/dss.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) dif