aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/vorbis_encoder.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c
index 6b4ec5e73..a4f427ef5 100644
--- a/src/encoder/vorbis_encoder.c
+++ b/src/encoder/vorbis_encoder.c
@@ -214,18 +214,14 @@ vorbis_encoder_open(struct encoder *_encoder,
return true;
}
-static bool
+static void
vorbis_encoder_clear(struct vorbis_encoder *encoder)
{
- bool ret;
-
vorbis_comment_clear(&encoder->vc);
ogg_stream_clear(&encoder->os);
vorbis_block_clear(&encoder->vb);
vorbis_dsp_clear(&encoder->vd);
vorbis_info_clear(&encoder->vi);
-
- return ret;
}
static void