From ef00fa217e38628921bc18586063b7ebdfec7ef5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 17 Nov 2004 08:38:04 +0000 Subject: [PATCH] Avoid a warning if FLAC supoprt is disabled. --- src/input/r_ogm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/r_ogm.cpp b/src/input/r_ogm.cpp index 1fc9052ae..915872b26 100644 --- a/src/input/r_ogm.cpp +++ b/src/input/r_ogm.cpp @@ -391,7 +391,7 @@ ogm_reader_c::create_packetizer(int64_t tid) { ogg_packet op; alBITMAPINFOHEADER bih; stream_header *sth; - int i, profile, channels, sample_rate, output_sample_rate; + int profile, channels, sample_rate, output_sample_rate; bool sbr, aac_info_extracted; ogm_demuxer_t *dmx; generic_packetizer_c *ptzr; @@ -529,7 +529,7 @@ ogm_reader_c::create_packetizer(int64_t tid) { #if defined(HAVE_FLAC_FORMAT_H) case OGM_STREAM_TYPE_FLAC: unsigned char *buf; - int size; + int size, i; size = 0; for (i = 1; i < (int)dmx->packet_sizes.size(); i++)