From 548bae63e783eb7a01c088a2a6c6e4051c42e4bf Mon Sep 17 00:00:00 2001 From: mplayer-svn Date: Thu, 26 Jul 2012 20:32:34 +0000 Subject: [PATCH] demux_audio: always enable parsing for audio streams Generally enable parsing for audio streams. The formats I know of that do not need it (e.g. raw audio) do not have a parser anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35050 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar --- libmpdemux/demux_audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index 802d36eacc..4daaef0a09 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -583,11 +583,12 @@ static int demux_audio_open(demuxer_t* demuxer) { } } if (sh_audio->format == 0x2001) { - sh_audio->needs_parsing = 1; mp_msg(MSGT_DEMUX,MSGL_DBG2,"[demux_audio] DTS sync offset = %u\n", i); } } + // All formats that have a parser will need it when stored in WAV + sh_audio->needs_parsing = 1; stream_seek(s,demuxer->movi_start); } break; case fLaC: