Commit 2054464c authored by Max Kellermann's avatar Max Kellermann

vorbis_encoder: vorbis_encoder_clear() returns void

Don't return an uninitialized bool variable.
parent e065c4db
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment