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

Jai Menon jmenon86
Tue Feb 10 09:59:33 CET 2009


On Tue, Feb 10, 2009 at 2:14 PM, Jai Menon <jmenon86 at gmail.com> wrote:
> On Tue, Feb 10, 2009 at 2:08 PM, Patrik Kullman <patrik at yes.nu> wrote:
>> If use_lpc < 1 and max_order > 0, weight would be uninitialized.
>
> since a use_lpc of 0 was never intended, maybe an assert could be used....

to clarify, i meant an assert on use_lpc == 0

-- 
Regards,

Jai




More information about the ffmpeg-devel mailing list