aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/samidec.c
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2014-01-11 22:46:25 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-13 16:15:07 +0100
commite43805d40188f2797619cdf068b64d2c3ada8a8f (patch)
treee3fb75a48121b8621d9c46663065f3a396c3cb60 /libavcodec/samidec.c
parentea21b7b68cfcc7ac98ec246c34be7abb4c86f291 (diff)
downloadffmpeg-e43805d40188f2797619cdf068b64d2c3ada8a8f.tar.gz
hevc: remove useless clip in FUNC(sao_band_filter)()
The src buffer should only contain values in the interval [0, (1 << BIT_DEPTH) - 1]. Since shift = (BIT_DEPTH - 5), src[x] >> shift must be in the interval [0, 31], so no clip is needed. This removes the code that was changed in 5856bca360c5bc3e340a357d91b1f993c80a7bea as the clip that was repositioned in that commit is removed Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit b00a8b4d194f1bf23343f3f42138affa1fe26641) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/samidec.c')
0 files changed, 0 insertions, 0 deletions