diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-14 14:51:02 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-14 14:51:02 +0000 |
commit | 918cd2255c449409c88879ce8c12a842b13f7c01 (patch) | |
tree | 555f82fb04eaf849802ce2cfd077f83790c7bb2a /libavcodec/wmv2.c | |
parent | 228315bbd3f8b2e77cea5fe0a14e461716f0c466 (diff) | |
download | ffmpeg-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/wmv2.c')
0 files changed, 0 insertions, 0 deletions