aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libopenjpeg.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:51:02 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:51:02 +0000
commit918cd2255c449409c88879ce8c12a842b13f7c01 (patch)
tree555f82fb04eaf849802ce2cfd077f83790c7bb2a /libavcodec/libopenjpeg.c
parent228315bbd3f8b2e77cea5fe0a14e461716f0c466 (diff)
downloadffmpeg-918cd2255c449409c88879ce8c12a842b13f7c01.tar.gz
Simplify fix15().
Turn it into 2 macros, and use av_clip_int16() and lrintf(). This matches the int16 to float sample conversion in audioconvert.c. The regression test output is different due to lrintf() rounding. Originally committed as revision 25956 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libopenjpeg.c')
0 files changed, 0 insertions, 0 deletions