From cc2d748b73c0147c11089d63e4ff9836070a09a8 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 9 Dec 2010 02:50:17 +0200 Subject: audio: FLAC: support new libavcodec parser, use lavf to demux Parse FLAC data with new libavcodec parser if needed. Use libavformat demuxer for raw FLAC files by default. --- libmpdemux/demux_audio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpdemux/demux_audio.c') diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index f5c476d250..7f0bb5e55f 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -491,6 +491,7 @@ static int demux_audio_open(demuxer_t* demuxer) { } if (sh_audio->i_bps < 1) // guess value to prevent crash sh_audio->i_bps = 64 * 1024; + sh_audio->needs_parsing = 1; // get_flac_metadata (demuxer); break; } -- cgit v1.2.3