From 28e7453c11c05f8bab3a8fa8feb7011e29274136 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 25 Nov 2007 17:31:55 +0000 Subject: remove some empty close/init functions in avcodec patch by Alex Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wavpack.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libavcodec/wavpack.c') diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 798f6bed70..3438ee43ea 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -364,13 +364,6 @@ static int wavpack_decode_init(AVCodecContext *avctx) return 0; } -static int wavpack_decode_close(AVCodecContext *avctx) -{ -// WavpackContext *s = avctx->priv_data; - - return 0; -} - static int wavpack_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) @@ -587,6 +580,6 @@ AVCodec wavpack_decoder = { sizeof(WavpackContext), wavpack_decode_init, NULL, - wavpack_decode_close, + NULL, wavpack_decode_frame, }; -- cgit v1.2.1