diff options
author | Jose Da Silva <digital@joescat.com> | 2021-01-31 19:51:10 -0800 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-02-03 16:03:15 +0100 |
commit | 7ccea3bf0959d4493959f4a22f9674144aef405b (patch) | |
tree | f454f4f208c4decb22c57ada92d0920be39b1a48 /libavformat/avidec.c | |
parent | 8c3d31fbeee157d6f529402c86371c857026fcff (diff) | |
download | ffmpeg-7ccea3bf0959d4493959f4a22f9674144aef405b.tar.gz |
avcodec/xbmdec: get_nibble() minor speed increase, and binary reduction
Replace av_isxdigit(*ptr) and convert(*ptr) with get_nibble(*ptr) which
returns a valid nibble=={0x00..0x0f} or false==255 for all other values.
This way we only need to work with *ptr once instead of twice.
Removing inline av_isxdigit(x) functions also shrinks executable size.
Signed-off-by: Joe Da Silva <digital@joescat.com>
Diffstat (limited to 'libavformat/avidec.c')
0 files changed, 0 insertions, 0 deletions