summaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.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/dv.c
parent60f41d13efd52488f9dc91edd047bb909d6a53c7 (diff)
downloadffmpeg-streaming-eea8c08fa82791378bd33769992a7435409394b7.zip
ffmpeg-streaming-eea8c08fa82791378bd33769992a7435409394b7.tar.gz
cleanup & memleak fix
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 5f1eaaa..c62c964 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -235,12 +235,6 @@ static int dvvideo_init(AVCodecContext *avctx)
return 0;
}
-static int dvvideo_end(AVCodecContext *avctx)
-{
- avcodec_default_free_buffers(avctx);
- return 0;
-}
-
// #define VLC_DEBUG
// #define printf(...) av_log(NULL, AV_LOG_ERROR, __VA_ARGS__)
@@ -954,7 +948,7 @@ AVCodec dvvideo_encoder = {
sizeof(DVVideoContext),
dvvideo_init,
dvvideo_encode_frame,
- dvvideo_end,
+ NULL,
NULL,
CODEC_CAP_DR1,
NULL
@@ -967,7 +961,7 @@ AVCodec dvvideo_decoder = {
sizeof(DVVideoContext),
dvvideo_init,
NULL,
- dvvideo_end,
+ NULL,
dvvideo_decode_frame,
CODEC_CAP_DR1,
NULL
OpenPOWER on IntegriCloud