fix typo in markup
diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex
index 125463b..998964b 100644
--- a/Doc/lib/libcodecs.tex
+++ b/Doc/lib/libcodecs.tex
@@ -398,7 +398,7 @@
   Decodes data from the stream and returns the resulting object.
 
   \var{chars} indicates the number of characters to read from the
-  stream. \function{read()} will never return more than \vars{chars}
+  stream. \function{read()} will never return more than \var{chars}
   characters, but it might return less, if there are not enough
   characters available.