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