[FFmpeg-devel] flashsv error due to negative linesize value - not an intentional cross post!
Wed May 9 23:30:25 CEST 2007
Ok, so yes or no on this, then:
Whereas, when linesize is positive, data is pointing at the first
column of the first row, when linesize is negative, data is
pointing at the first column of the last row, or:
Therefore, with linesize negative, data[abs(linesize)-1] would then
point at the last column of the last row?
Just -really- making sure I get it.
On 5/9/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, May 09, 2007 at 02:45:22PM -0500, Jason Askew wrote:
> > Here's another way to put it: is
> > data[linesize * row + column]
> > always valid even with a negative linesize, assuming a positive row
> > and column value?
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> Good people do not need laws to tell them to act responsibly, while bad
> people will find a way around the laws. -- Plato
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel