mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Avoid a warning if FLAC supoprt is disabled.
This commit is contained in:
parent
afcdfb168d
commit
ef00fa217e
@ -391,7 +391,7 @@ ogm_reader_c::create_packetizer(int64_t tid) {
|
|||||||
ogg_packet op;
|
ogg_packet op;
|
||||||
alBITMAPINFOHEADER bih;
|
alBITMAPINFOHEADER bih;
|
||||||
stream_header *sth;
|
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;
|
bool sbr, aac_info_extracted;
|
||||||
ogm_demuxer_t *dmx;
|
ogm_demuxer_t *dmx;
|
||||||
generic_packetizer_c *ptzr;
|
generic_packetizer_c *ptzr;
|
||||||
@ -529,7 +529,7 @@ ogm_reader_c::create_packetizer(int64_t tid) {
|
|||||||
#if defined(HAVE_FLAC_FORMAT_H)
|
#if defined(HAVE_FLAC_FORMAT_H)
|
||||||
case OGM_STREAM_TYPE_FLAC:
|
case OGM_STREAM_TYPE_FLAC:
|
||||||
unsigned char *buf;
|
unsigned char *buf;
|
||||||
int size;
|
int size, i;
|
||||||
|
|
||||||
size = 0;
|
size = 0;
|
||||||
for (i = 1; i < (int)dmx->packet_sizes.size(); i++)
|
for (i = 1; i < (int)dmx->packet_sizes.size(); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user