changeset 26892:3c360ca1c304

The size of output buffer is stored in 'osize', not 'size'. This is just for readability, the code behaviour is not changed.
author eugeni
date Thu, 29 May 2008 18:35:22 +0000
parents 29e92a7a75b6
children fbd332ed6562
files libass/ass.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass.c	Thu May 29 18:35:21 2008 +0000
+++ b/libass/ass.c	Thu May 29 18:35:22 2008 +0000
@@ -848,7 +848,7 @@
 		size_t rc;
 		int clear = 0;
 		
-		outbuf = malloc(size);
+		outbuf = malloc(osize);
 		ip = data;
 		op = outbuf;