diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-21 13:15:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-23 15:05:39 +0200 |
commit | 046cbd255eb748e592d1ad3d5f45d9a306692a10 (patch) | |
tree | 46e34c16edd75666292d7a931338b388f4d3c5e5 /libavcodec/av1dec.c | |
parent | 5be809fed905cc8aebaa20a10548a8341f3d6425 (diff) | |
download | ffmpeg-046cbd255eb748e592d1ad3d5f45d9a306692a10.tar.gz |
avformat/yuv4mpegdec: Use table instead of repeated "else if"
The code savings more than offset the size of the table
(1936B vs 768B with GCC 10.3 at -O3).
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/av1dec.c')
0 files changed, 0 insertions, 0 deletions