diff mpeg12.c @ 494:54b88078c361 libavcodec

fixed one mpeg decoder memory leak
author bellard
date Tue, 11 Jun 2002 13:44:14 +0000
parents fde314e1aaa1
children 0b4450c15067
line wrap: on
line diff
--- a/mpeg12.c	Tue Jun 11 13:43:27 2002 +0000
+++ b/mpeg12.c	Tue Jun 11 13:44:14 2002 +0000
@@ -533,6 +533,7 @@
     static int done = 0;
 
     if (!done) {
+        done = 1;
 
         init_vlc(&dc_lum_vlc, 9, 12, 
                  vlc_dc_lum_bits, 1, 1,