diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-30 17:42:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-30 17:42:58 +0000 |
commit | eea8c08fa82791378bd33769992a7435409394b7 (patch) | |
tree | 856b7010b12a81933b870227904c037b113313d7 /libavcodec/vcr1.c | |
parent | 60f41d13efd52488f9dc91edd047bb909d6a53c7 (diff) | |
download | ffmpeg-eea8c08fa82791378bd33769992a7435409394b7.tar.gz |
cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r-- | libavcodec/vcr1.c | 9 |
1 files changed, 1 insertions, 8 deletions
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, }; |