• 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
ac3enc.c 42.9 KB