Re: [FFmpeg-devel] [PATCH 6/6] avcodec/binkaudio: Avoid allocation for array

2020-09-04 Thread Paul B Mahol
On 9/4/20, Andreas Rheinhardt wrote: > The array in question can not be too large (only 26 elements), so it can > simply be put on the context. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/binkaudio.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) > LGTM > diff --git

[FFmpeg-devel] [PATCH 6/6] avcodec/binkaudio: Avoid allocation for array

2020-09-04 Thread Andreas Rheinhardt
The array in question can not be too large (only 26 elements), so it can simply be put on the context. Signed-off-by: Andreas Rheinhardt --- libavcodec/binkaudio.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index f7e9