[FFmpeg-devel] [PATCH] Document slice ordering assumption done by sws_scale()

Stefano Sabatini stefano.sabatini-lala
Fri Oct 30 15:12:51 CET 2009


On date Friday 2009-10-30 13:54:25 +0100, Michael Niedermayer encoded:
> On Wed, Oct 28, 2009 at 11:51:16PM +0100, Stefano Sabatini wrote:
> > On date Tuesday 2009-10-27 11:19:21 +0100, Michael Niedermayer encoded:
[...]
> > > this documents how the current implementation handles cases that have
> > > undefined behavior.
> > > swscale does not gurantee that it will identify slice order like you
> > > document nor does it gurantee that it draws nothing nor that it will
> > > return 0.
> > > If slices come in any order different from sequential, consecutive from
> > > top->bottom/bottom->top then the behavior is undefined. It might as well
> > > scale the image correctly or format your disk.
> > 
> > OK, please check again.
> > -- 
> > FFmpeg = Faithful and Fundamental Multimedia Practical Elegant Goblin
> 
> >  swscale.h |    6 +++++-
> >  1 file changed, 5 insertions(+), 1 deletion(-)
> > 63e85da162493fedba053214d0e623e4d542b3d7  sws-document-slice-ordering.patch
> 
> ok

Applied.
-- 
FFmpeg = Faithful & Funny Merciless Powerful Extreme Gospel



More information about the ffmpeg-devel mailing list