From 073c2593c9f0aa4445a6fc1b9b24e6e52a8cc2c1 Mon Sep 17 00:00:00 2001 From: Burkhard Plaum Date: Sat, 27 Nov 2004 18:10:06 +0000 Subject: Memory leak fix patch by (Burkhard Plaum at< ipf.uni-stuttgart )dot( de>) Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/dv.c') diff --git a/libavcodec/dv.c b/libavcodec/dv.c index ae50315..1e190a5 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -144,7 +144,7 @@ static int dvvideo_init(AVCodecContext *avctx) /* NOTE: as a trick, we use the fact the no codes are unused to accelerate the parsing of partial codes */ init_vlc(&dv_vlc, TEX_VLC_BITS, j, - new_dv_vlc_len, 1, 1, new_dv_vlc_bits, 2, 2); + new_dv_vlc_len, 1, 1, new_dv_vlc_bits, 2, 2, 0); dv_rl_vlc = av_malloc(dv_vlc.table_size * sizeof(RL_VLC_ELEM)); if (!dv_rl_vlc) { -- cgit v1.1