diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-16 13:40:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-23 23:53:38 +0200 |
commit | 477a398c3ea9b84cb3c8139becadbb821e234ceb (patch) | |
tree | 911067f8124f8b1ce2549021dcc3160aa8c5204a /libavcodec/mediacodec_wrapper.c | |
parent | cd7e25b14a2a27b73874b5f79a04ae5db738f7f6 (diff) | |
download | ffmpeg-477a398c3ea9b84cb3c8139becadbb821e234ceb.tar.gz |
avcodec/elbg: Also allocate buffers for recursion only once
This is possible because the number of elements needed in each
recursion step decreases geometrically, so the geometric series
provides an upper bound for the sum of number of elements of
the needed buffers.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mediacodec_wrapper.c')
0 files changed, 0 insertions, 0 deletions