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

Aurelien Jacobs aurel
Mon Feb 9 23:48:19 CET 2009


Patrik wrote:

> Cosmetic fix to remove the warning about alpha_offset possibly being
> uninitialized.

This is a well know false positive warning.

> It should only be used when set, but a value of 0 shouldn't make
> anything different.

It makes things different. It adds one useless instruction in final
object file. This is not OK.

Now that Michael has added the av_uninit() macro, I've finally fixed
this warning.

Aurel




More information about the ffmpeg-devel mailing list