diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-10-30 14:13:25 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-10-30 14:13:25 +0000 |
commit | a520e9f23554455c460a63cf2680d1db2312fdf7 (patch) | |
tree | 049621e4995cdf5bb2910303c7677cee0feb6454 | |
parent | c5ec0d9d4f0b4fab8216d711dd37967e878b711d (diff) | |
download | ffmpeg-a520e9f23554455c460a63cf2680d1db2312fdf7.tar.gz |
Document slice ordering assumption done by sws_scale().
Originally committed as revision 29804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 87e64e2885..abc23fcf40 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -135,7 +135,11 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat /** * Scales the image slice in srcSlice and puts the resulting scaled * slice in the image in dst. A slice is a sequence of consecutive - * rows in an image. Slices can be bottom to top or top to bottom. + * rows in an image. + * + * Slices have to be provided in sequential order, either in + * top-bottom or bottom-top order. If slices are provided in + * non-sequential order the behavior of the function is undefined. * * @param context the scaling context previously created with * sws_getContext() |