From c0641405dec6fb244e7d3104035f64f6e535731c Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 9 Jan 2004 01:26:32 +0000 Subject: - rework semantics of some buffer flags. check buffer.h for details. - increase demux and decoder apis - fix runtime changing of ogg/ogm audio channels note: i hope i haven't broken any demux->decoder data exchange. please report any problems. CVS patchset: 6014 CVS date: 2004/01/09 01:26:32 --- src/libflac/demux_flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libflac/demux_flac.c') diff --git a/src/libflac/demux_flac.c b/src/libflac/demux_flac.c index 805a0fb76..30fc0315f 100644 --- a/src/libflac/demux_flac.c +++ b/src/libflac/demux_flac.c @@ -359,7 +359,7 @@ demux_flac_send_headers (demux_plugin_t *this_gen) { if (this->audio_fifo) { buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); buf->type = BUF_AUDIO_FLAC; - buf->decoder_flags = BUF_FLAG_HEADER; + buf->decoder_flags = BUF_FLAG_HEADER|BUF_FLAG_STDHEADER|BUF_FLAG_FRAME_END; buf->decoder_info[0] = 0; buf->decoder_info[1] = this->sample_rate; buf->decoder_info[2] = this->bits_per_sample; -- cgit v1.2.3