From 7b151a98b0ed36ebf04e5f336734678dbf98b6ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de>
Date: Sun, 31 May 2009 10:28:40 +0000
Subject: [PATCH] Document padding requirements of mszh_decomp srcptr buffer

Originally committed as revision 19049 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/lcldec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c
index 1a695dc4a45..44bcfbdc118 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;
-- 
GitLab