[FFmpeg-devel] [PATCH] libavcodec/lpc.c: Fix warning about uninitialized variable

Patrik Kullman patrik
Tue Feb 10 09:38:11 CET 2009


If use_lpc < 1 and max_order > 0, weight would be uninitialized.

Also, if that would be true, a division would occur with weight as
divisor, which is why I set it to 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-lpc-init-weight.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090210/f7da4dff/attachment.bin>



More information about the ffmpeg-devel mailing list