diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-21 15:44:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-21 15:44:34 +0100 |
commit | d301a13427d970671258593ef14dc87f8e24555a (patch) | |
tree | f9c202066cfddbba2f7d3359b3542a1cd9695dfa /libavcodec | |
parent | daebe6319ed759980daf062f97ce983361a16292 (diff) | |
download | ffmpeg-d301a13427d970671258593ef14dc87f8e24555a.tar.gz |
avcodec/snowenc: Use av_clip_uint8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/snowenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index cd8fef3e9e..3603785222 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -547,7 +547,7 @@ static int get_dc(SnowContext *s, int mb_x, int mb_y, int plane_index){ } *b= backup; - return av_clip( ROUNDED_DIV(ab<<LOG2_OBMC_MAX, aa), 0, 255); //FIXME we should not need clipping + return av_clip_uint8( ROUNDED_DIV(ab<<LOG2_OBMC_MAX, aa) ); //FIXME we should not need clipping } static inline int get_block_bits(SnowContext *s, int x, int y, int w){ |