# HG changeset patch # User michael # Date 1168990121 0 # Node ID c8bc01fee4094b4bb0690606731369a1c3452d94 # Parent 085f248227130da3eb71d6bda3605b522331e4f7 set data_size to 0 so that in case we return without setting it nothing funny can happen diff -r 085f24822713 -r c8bc01fee409 a52dec.c --- a/a52dec.c Tue Jan 16 22:07:49 2007 +0000 +++ b/a52dec.c Tue Jan 16 23:28:41 2007 +0000 @@ -162,6 +162,8 @@ 2, 1, 2, 3, 3, 4, 4, 5 }; + *data_size= 0; + buf_ptr = buf; while (buf_size > 0) { len = s->inbuf_ptr - s->inbuf;