Re: [FFmpeg-devel] [PATCH v2] avformat/bethsoftvid: Avoid allocations and frees for palettes

2020-03-22 Thread Michael Niedermayer
On Sat, Mar 21, 2020 at 10:22:08AM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Modern terrorism, a quick summary: Need oil, start war with country that has oil, kill hundread thousand in war. Let country fall

Re: [FFmpeg-devel] [PATCH v2] avformat/bethsoftvid: Avoid allocations and frees for palettes

2020-03-21 Thread Paul B Mahol
lgtm On 3/21/20, Andreas Rheinhardt wrote: > by putting the palette in the demuxer's context. This also allows to > remove this demuxer's read_close-function. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/bethsoftvid.c | 25 +++-- > 1 file changed, 7 insertions(+

[FFmpeg-devel] [PATCH v2] avformat/bethsoftvid: Avoid allocations and frees for palettes

2020-03-20 Thread Andreas Rheinhardt
by putting the palette in the demuxer's context. This also allows to remove this demuxer's read_close-function. Signed-off-by: Andreas Rheinhardt --- libavformat/bethsoftvid.c | 25 +++-- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/libavformat/bethsoftvid.c