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

Patrik patrik
Mon Feb 9 16:45:48 CET 2009


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

Made the patch as small as possible.

is_alpha is set to 0 in a for loop 7 lines down, alpha_offset is used in
two places:

            buf += alpha_offset;
            remaining_buf_size -= alpha_offset;

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


--
Patrik Kullman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-vp56-init_alpha_offset.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090209/2309d0b9/attachment.bin>



More information about the ffmpeg-devel mailing list