[FFmpeg-devel] flashsv error due to negative linesize value - not an intentional cross post!

Jason Askew jason.askew
Wed May 9 23:30:25 CEST 2007


Ok, so yes or no on this, then:

Whereas, when linesize is positive, data[0] is pointing at the first
column of the first row, when linesize is negative, data[0] is
pointing at the first column of the last row, or:

Therefore, with linesize negative, data[0][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:
> Hi
>
> On Wed, May 09, 2007 at 02:45:22PM -0500, Jason Askew wrote:
> [...]
> > Here's another way to put it:  is
> >
> > data[0][linesize[0] * row + column]
> >
> > always valid even with a negative linesize, assuming a positive row
> > and column value?
>
> yes
>
> [...]
> --
> 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
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
>




More information about the ffmpeg-devel mailing list