[FFmpeg-devel] [PATCH] WMA Voice decoder
Ronald S. Bultje
Fri Jan 22 19:23:45 CET 2010
On Fri, Jan 22, 2010 at 1:20 PM, Uoti Urpala <uoti.urpala at pp1.inet.fi> wrote:
> On Fri, 2010-01-22 at 10:48 -0500, Ronald S. Bultje wrote:
>> >> >> + ? ?int z = (uint16_t) (x * 49995 / y);
> BTW I forgot to mention earlier than since x is signed int, x * 49995
> can overflow here (undefined behavior).
If it matters, it's an unsigned multiply (is there an "unsigned" MULu16?).
More information about the ffmpeg-devel