From eea8c08fa82791378bd33769992a7435409394b7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 30 Apr 2004 17:42:58 +0000 Subject: cleanup & memleak fix Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vcr1.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libavcodec/vcr1.c') diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index 4b8c9fc41d..05539452a4 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -165,13 +165,6 @@ static int encode_init(AVCodecContext *avctx){ return 0; } -static int decode_end(AVCodecContext *avctx){ - - avcodec_default_free_buffers(avctx); - - return 0; -} - AVCodec vcr1_decoder = { "vcr1", CODEC_TYPE_VIDEO, @@ -179,7 +172,7 @@ AVCodec vcr1_decoder = { sizeof(VCR1Context), decode_init, NULL, - decode_end, + NULL, decode_frame, CODEC_CAP_DR1, }; -- cgit v1.2.3