Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Jan 15, 2013
1 parent e9ffee2 commit c994bb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libavformat/oggdec.c
Expand Up @@ -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;
Expand Down

0 comments on commit c994bb2

Please sign in to comment.