From 07c76d008560c7d5d8cce8f74ca295575fb5ec2a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 23 Dec 2018 00:03:13 +0100 Subject: [PATCH] [sink_flac] no declaration after statement --- src/io/sink_flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/sink_flac.c b/src/io/sink_flac.c index a0ae795c..04144793 100644 --- a/src/io/sink_flac.c +++ b/src/io/sink_flac.c @@ -129,6 +129,7 @@ uint_t aubio_sink_flac_open(aubio_sink_flac_t *s) uint_t ret = AUBIO_FAIL; FLAC__bool ok = true; FLAC__StreamEncoderInitStatus init_status; + FLAC__StreamMetadata_VorbisComment_Entry entry; const unsigned comp_level = 5; const unsigned bps = 16; @@ -182,7 +183,6 @@ uint_t aubio_sink_flac_open(aubio_sink_flac_t *s) goto failure; } - FLAC__StreamMetadata_VorbisComment_Entry entry; ok = FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair(&entry, "encoder", "aubio"); ok &= FLAC__metadata_object_vorbiscomment_append_comment(s->metadata[0], -- 2.11.0