]> git.sesse.net Git - ffmpeg/commit
avcodec/binkaudio: Avoid allocation for array
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 4 Sep 2020 14:52:49 +0000 (16:52 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 4 Sep 2020 18:43:43 +0000 (20:43 +0200)
commitae343d6595608a21d30f34de3622937b1850e04a
treed87fbbe26c9deca629ab8351366cdb985852f22b
parentc703088c1b198647794d54cfa3bd73842cb44fb9
avcodec/binkaudio: Avoid allocation for array

The array in question can not be too large (only 26 elements), so it can
simply be put on the context.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/binkaudio.c