Commit c994bb2f authored by Michael Niedermayer's avatar Michael Niedermayer

oggdec: Leave treatment of serial changes to the decoder.

Attempting to re-parse the headers at demuxer level is a
pandora box the way its done currently.

This allows full reconfiguration of vorbis streams

Fixes Ticket2117
Fixes Ticket2121
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e9ffee23
......@@ -184,6 +184,9 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial)
os = &ogg->streams[0];
os->serial = serial;
return 0;
buf = os->buf;
bufsize = os->bufsize;
codec = os->codec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment