summaryrefslogtreecommitdiff
path: root/libavcodec/cljr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-30 17:42:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-30 17:42:58 +0000
commiteea8c08fa82791378bd33769992a7435409394b7 (patch)
tree856b7010b12a81933b870227904c037b113313d7 /libavcodec/cljr.c
parent60f41d13efd52488f9dc91edd047bb909d6a53c7 (diff)
cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cljr.c')
-rw-r--r--libavcodec/cljr.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c
index 382a77ac7d..912a050fbd 100644
--- a/libavcodec/cljr.c
+++ b/libavcodec/cljr.c
@@ -133,13 +133,6 @@ static int encode_init(AVCodecContext *avctx){
return 0;
}
-static int decode_end(AVCodecContext *avctx){
-
- avcodec_default_free_buffers(avctx);
-
- return 0;
-}
-
AVCodec cljr_decoder = {
"cljr",
CODEC_TYPE_VIDEO,
@@ -147,7 +140,7 @@ AVCodec cljr_decoder = {
sizeof(CLJRContext),
decode_init,
NULL,
- decode_end,
+ NULL,
decode_frame,
CODEC_CAP_DR1,
};