aboutsummaryrefslogtreecommitdiffhomepage
path: root/libswscale/yuv2rgb_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/yuv2rgb_init.c')
-rw-r--r--libswscale/yuv2rgb_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb_init.c b/libswscale/yuv2rgb_init.c
index 0db096f813..14c46b0e40 100644
--- a/libswscale/yuv2rgb_init.c
+++ b/libswscale/yuv2rgb_init.c
@@ -277,7 +277,7 @@ int yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int fullRange,
for (i = 0; i < 1024; i++) {
value = (cy*(((i - YTABLE_MIN)<<16) - oy) + (1<<31))>>32;
- ytable[i] = clip_uint8(value);
+ ytable[i] = av_clip_uint8(value);
}
entry_size = get_entry_size(fmt_depth(c->dstFormat));