aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lcldec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 10:28:40 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-05-31 10:28:40 +0000
commit7b151a98b0ed36ebf04e5f336734678dbf98b6ba (patch)
tree1d02aa35e8ebbd8a0d8d55a34f3cfd6145a97222 /libavcodec/lcldec.c
parent5e5fe7dab556caa354363cd5135ac405eb25f891 (diff)
downloadffmpeg-7b151a98b0ed36ebf04e5f336734678dbf98b6ba.tar.gz
Document padding requirements of mszh_decomp srcptr buffer
Originally committed as revision 19049 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r--libavcodec/lcldec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c
index 1a695dc4a4..44bcfbdc11 100644
--- a/libavcodec/lcldec.c
+++ b/libavcodec/lcldec.c
@@ -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;