diff options
author | 2010-12-09 02:50:17 +0200 | |
---|---|---|
committer | 2010-12-09 02:50:17 +0200 | |
commit | cc2d748b73c0147c11089d63e4ff9836070a09a8 (patch) | |
tree | 6062375e90a7cc23818a969d6aeff199d801547a /libmpdemux/demux_audio.c | |
parent | 102b240e96ea2d5a675958d8365f2feb301a7498 (diff) |
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.
Diffstat (limited to 'libmpdemux/demux_audio.c')
-rw-r--r-- | libmpdemux/demux_audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |