From: Paul Brossier Date: Sat, 22 Dec 2018 23:03:13 +0000 (+0100) Subject: [sink_flac] no declaration after statement X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=07c76d008560c7d5d8cce8f74ca295575fb5ec2a;p=aubio.git [sink_flac] no declaration after statement --- 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],