[FFmpeg-devel] [PATCH 1/2] avcodec/rangecoder: Add and test ff_rac_check_termination()
James Almer
jamrial at gmail.com
Mon Dec 31 19:50:26 EET 2018
On 12/31/2018 1:40 PM, Michael Niedermayer wrote:
> On Sun, Dec 23, 2018 at 07:24:49PM +0100, Michael Niedermayer wrote:
>> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
>> ---
>> libavcodec/rangecoder.c | 19 +++++++++++++++++++
>> libavcodec/rangecoder.h | 9 +++++++++
>> libavcodec/tests/rangecoder.c | 7 +++++--
>> 3 files changed, 33 insertions(+), 2 deletions(-)
>
> will apply
Is this function called from a hot loop? If so, it may be worth making
it inline instead, seeing how the version argument in the only cases
it's used is a constant.
More information about the ffmpeg-devel
mailing list