Hi, On Wed, Nov 17, 2010 at 2:37 AM, Justin Ruggles <[email protected]> wrote: > +/** convert float in range [-1..1] to int16_t in range [-32768..32767] */ > +#define FIX15(a) ((int16_t)av_clip_int16((int)(a * (float)(1 << 15))))
-32768, so you might want to update the comment. Also, is the cast at the start needed (int16_t)? Ronald _______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
