[PATCH] Start using intermediate buffers at index 0.
Hi, These index variables are incremented before each use, so they should be initialized to -1. Ramiro Polla
On Wed, Sep 16, 2009 at 05:13:10PM -0300, Ramiro Polla wrote:
Hi,
These index variables are incremented before each use, so they should be initialized to -1.
Ramiro Polla
swscale_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ec14b8665c007ba5d013a6b7f1eeee4de8ddc739 0002-Start-using-intermediate-buffers-at-index-0.patch From 9907d4a8914f82d34561511d3815d5ddf4df8684 Mon Sep 17 00:00:00 2001 From: Ramiro Polla <ramiro.polla at gmail.com> Date: Wed, 16 Sep 2009 16:48:28 -0300 Subject: [PATCH] Start using intermediate buffers at index 0. These index variables are incremented before each use, so they should be initialized to -1.
if this does not change swscale-example output then ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If a bugfix only changes things apparently unrelated to the bug with no further explanation, that is a good sign that the bugfix is wrong.
On Sun, Sep 20, 2009 at 8:29 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
On Wed, Sep 16, 2009 at 05:13:10PM -0300, Ramiro Polla wrote:
These index variables are incremented before each use, so they should be initialized to -1.
Ramiro Polla
?swscale_template.c | ? ?4 ++-- ?1 file changed, 2 insertions(+), 2 deletions(-) ec14b8665c007ba5d013a6b7f1eeee4de8ddc739 ?0002-Start-using-intermediate-buffers-at-index-0.patch From 9907d4a8914f82d34561511d3815d5ddf4df8684 Mon Sep 17 00:00:00 2001 From: Ramiro Polla <ramiro.polla at gmail.com> Date: Wed, 16 Sep 2009 16:48:28 -0300 Subject: [PATCH] Start using intermediate buffers at index 0. ?These index variables are incremented before each use, so they should be ?initialized to -1.
if this does not change swscale-example output then ok
It only changes the output from conversions that read random data as input (any fast_bilinear and unscaled abgr <-> bgra). Applied.
participants (2)
-
michaelni@gmx.at -
ramiro.polla@gmail.com