diff options
author | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2011-05-24 10:17:32 +0000 |
---|---|---|
committer | dcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db> | 2011-05-24 10:17:32 +0000 |
commit | 9958ca9cd8f82ec6ac5cb0b3de17ecdfed0fa570 (patch) | |
tree | 0e7a27b1ab8d20d0d1cd6d5a38af994874e852de /turbojpeg.h | |
parent | 5ccf9f0623a99c185aeeaab81b54578454709582 (diff) |
Don't require buffer size to be preset if using TJFLAG_NOREALLOC
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@626 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'turbojpeg.h')
-rw-r--r-- | turbojpeg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/turbojpeg.h b/turbojpeg.h index 4bc9147..17bc306 100644 --- a/turbojpeg.h +++ b/turbojpeg.h @@ -440,7 +440,7 @@ DLLEXPORT tjhandle DLLCALL tjInitCompress(void); * calling #TJBUFSIZE(). This should ensure that the buffer never has * to be re-allocated (setting #TJFLAG_NOREALLOC guarantees this.) * . - * If you choose option 1 or 3, <tt>*jpegSize</tt> should be set to the + * If you choose option 1, <tt>*jpegSize</tt> should be set to the * size of your pre-allocated buffer. In any case, unless you have * set #TJFLAG_NOREALLOC, you should always check <tt>*jpegBuf</tt> upon * return from this function, as it may have changed. @@ -692,7 +692,7 @@ DLLEXPORT tjhandle DLLCALL tjInitTransform(void); * ensure that the buffer never has to be re-allocated (setting * #TJFLAG_NOREALLOC guarantees this.) * . - * If you choose option 1 or 3, <tt>dstSizes[i]</tt> should be set to + * If you choose option 1, <tt>dstSizes[i]</tt> should be set to * the size of your pre-allocated buffer. In any case, unless you have * set #TJFLAG_NOREALLOC, you should always check <tt>dstBufs[i]</tt> * upon return from this function, as it may have changed. |