[FFmpeg-devel] flashsvenc.c path - fix ability to handle negative linesize
Sun May 13 01:40:06 CEST 2007
M?ns Rullg?rd -
> It's useful to think of it as data pointing to the top-left pixel,
> wherever it is in the buffer. Adding linesize takes you one line down
> in the image, and so on.
Useful, but also not true in this case. The formula
data[y*linesize+x] holds valid, but in this case the memcpy fails
because the pointer isn't pointing at the start of the memory buffer.
Navigation and copying code must compensate for it.
> Well getting the patches to an acceptable state is half the fun :)
> Anyway I'll merge it manually. Try getting it right the next time.
> Benjamin Larsson
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
Thank you. I'm willing to learn, I want to contribute, and I'm
willing to take my ego out of it. I'll keep contributing, you guys
keep criticizing, and eventually I'll get it. Thanks Benjamin!
More information about the ffmpeg-devel