summaryrefslogtreecommitdiff
path: root/libavcodec/wavpack.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-11-25 17:31:55 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-11-25 17:31:55 +0000
commit28e7453c11c05f8bab3a8fa8feb7011e29274136 (patch)
tree84e435a63d5afe37f26c151e3154f0105b9b7e84 /libavcodec/wavpack.c
parent725d86bfd52fdecb4d24fc6c62201064071f4c82 (diff)
downloadffmpeg-28e7453c11c05f8bab3a8fa8feb7011e29274136.tar.gz
remove some empty close/init functions in avcodec
patch by Alex Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r--libavcodec/wavpack.c9
1 files changed, 1 insertions, 8 deletions
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,
};