• Justin Ruggles's avatar
    Simplify fix15(). · 918cd225
    Justin Ruggles authored
    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
    918cd225
Name
Last commit
Last update
..
fate Loading commit data...
ref Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
codec-regression.sh Loading commit data...
copy.regression.ref Loading commit data...
copycooker.sh Loading commit data...
fate-run.sh Loading commit data...
fate-update.sh Loading commit data...
fate.mak Loading commit data...
fate.sh Loading commit data...
fate2.mak Loading commit data...
ffserver-regression.sh Loading commit data...
ffserver.conf Loading commit data...
ffserver.regression.ref Loading commit data...
lavf-regression.sh Loading commit data...
lavfi-regression.sh Loading commit data...
lena.pnm Loading commit data...
md5.sh Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
seek_test.c Loading commit data...
tiny_psnr.c Loading commit data...
videogen.c Loading commit data...