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
This commit is contained in:
Justin Ruggles
2010-12-14 14:51:02 +00:00
parent 228315bbd3
commit 918cd2255c
2 changed files with 8 additions and 15 deletions

View File

@@ -1,2 +1,2 @@
081bfd5e683b13cccf1b07c43c1c5005 *./tests/data/acodec/ac3.rm
464093173530736050e338caf152044c *./tests/data/acodec/ac3.rm
98751 ./tests/data/acodec/ac3.rm