[Ffmpeg-cvslog] r7558 - trunk/libavcodec/a52dec.c

michael subversion
Wed Jan 17 00:28:42 CET 2007


Author: michael
Date: Wed Jan 17 00:28:41 2007
New Revision: 7558

Modified:
   trunk/libavcodec/a52dec.c

Log:
set data_size to 0 so that in case we return without setting it nothing funny can happen


Modified: trunk/libavcodec/a52dec.c
==============================================================================
--- trunk/libavcodec/a52dec.c	(original)
+++ trunk/libavcodec/a52dec.c	Wed Jan 17 00:28:41 2007
@@ -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;




More information about the ffmpeg-cvslog mailing list