diff options
author | Thibaut Mattern <thibaut.mattern@gmail.com> | 2008-04-07 22:53:18 +0200 |
---|---|---|
committer | Thibaut Mattern <thibaut.mattern@gmail.com> | 2008-04-07 22:53:18 +0200 |
commit | 90dc844d62172741940668ca3ccd2f9472a62ce6 (patch) | |
tree | 0dbff431cd3ae95c9cce4b54f4c90c5f23f4b5ee | |
parent | a9880f6f59108ddaf53245bf48140c57aef743f5 (diff) | |
download | xine-lib-90dc844d62172741940668ca3ccd2f9472a62ce6.tar.gz xine-lib-90dc844d62172741940668ca3ccd2f9472a62ce6.tar.bz2 |
Fix vorbis initialization problem in the matroska demuxer due to my last vorbis bugfix.
The Vorbis init has to be fixed in a better way, split logic has to be added here, maybe by reusing demux.c code.
-rw-r--r-- | src/demuxers/demux_matroska.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/demuxers/demux_matroska.c b/src/demuxers/demux_matroska.c index d081caf61..942a6613e 100644 --- a/src/demuxers/demux_matroska.c +++ b/src/demuxers/demux_matroska.c @@ -635,9 +635,7 @@ static void init_codec_xiph(demux_matroska_t *this, matroska_track_t *track) { } buf->size = frame[i]; - buf->decoder_flags = BUF_FLAG_HEADER; - if (i == 2) - buf->decoder_flags |= BUF_FLAG_FRAME_END; + buf->decoder_flags = BUF_FLAG_HEADER | BUF_FLAG_FRAME_START | BUF_FLAG_FRAME_END; buf->type = track->buf_type; buf->pts = 0; |