# HG changeset patch # User eugeni # Date 1212086122 0 # Node ID 3c360ca1c30443c95da011fa4030a3bd681ebbf8 # Parent 29e92a7a75b6e007b5a57daf0668679ec8428962 The size of output buffer is stored in 'osize', not 'size'. This is just for readability, the code behaviour is not changed. diff -r 29e92a7a75b6 -r 3c360ca1c304 libass/ass.c --- 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;