OSDN Git Service

avcodec/a64multienc: fix use of uninitialized values in to_meta_with_crop
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 22 Feb 2015 19:48:38 +0000 (20:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Feb 2015 00:49:23 +0000 (01:49 +0100)
commit87513d654546a99f8ddb045ca4fa5d33778a617e
tree64689c3ce8acac31bcddca55c740071a4a2fd15f
parentab759f8f4a3f7178361e32ab719e6bc49d8afecb
avcodec/a64multienc: fix use of uninitialized values in to_meta_with_crop

Averaging over 2 pixels doesn't work correctly for the last pixel, because the
rest of the buffer is not initialized.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/a64multienc.c