diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-06-11 13:44:14 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-06-11 13:44:14 +0000 |
commit | 915bbac6815eddd911fb5cb8a23517b3cac3a84b (patch) | |
tree | fde0b739929cfc46a45e8b5c8bf57b4920184aa4 /libavcodec/mpeg12.c | |
parent | 6d4985bbdfa5000223523d3de079d68b66f0c90b (diff) | |
download | ffmpeg-915bbac6815eddd911fb5cb8a23517b3cac3a84b.tar.gz |
fixed one mpeg decoder memory leak
Originally committed as revision 688 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 37e9b70ac5..5efd5addde 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -533,6 +533,7 @@ void mpeg1_init_vlc(MpegEncContext *s) static int done = 0; if (!done) { + done = 1; init_vlc(&dc_lum_vlc, 9, 12, vlc_dc_lum_bits, 1, 1, |