Mercurial > libavcodec.hg
diff dv.c @ 1994:8d3540dddd1b libavcodec
cleanup & memleak fix
author | michael |
---|---|
date | Fri, 30 Apr 2004 17:42:58 +0000 |
parents | 2761950695cc |
children | 3a78447c3b53 |
line wrap: on
line diff
--- a/dv.c Fri Apr 30 16:06:20 2004 +0000 +++ b/dv.c Fri Apr 30 17:42:58 2004 +0000 @@ -235,12 +235,6 @@ 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 @@ sizeof(DVVideoContext), dvvideo_init, dvvideo_encode_frame, - dvvideo_end, + NULL, NULL, CODEC_CAP_DR1, NULL @@ -967,7 +961,7 @@ sizeof(DVVideoContext), dvvideo_init, NULL, - dvvideo_end, + NULL, dvvideo_decode_frame, CODEC_CAP_DR1, NULL