Document padding requirements of mszh_decomp srcptr buffer

Originally committed as revision 19049 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-05-31 10:28:40 +00:00
parent 5e5fe7dab5
commit 7b151a98b0
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ typedef struct LclDecContext {
} LclDecContext;
/**
* \param srcptr compressed source buffer, must be padded with at least 4 extra bytes
*/
static unsigned int mszh_decomp(unsigned char * srcptr, int srclen, unsigned char * destptr, unsigned int destsize)
{
unsigned char *destptr_bak = destptr;