]> git.sesse.net Git - ffmpeg/commit
vorbis: parse out setup headers as well
authorBen Boeckel <mathstuf@gmail.com>
Mon, 2 Feb 2015 01:00:02 +0000 (20:00 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Feb 2015 02:11:49 +0000 (03:11 +0100)
commit1fe94ea79eb749ea4978596d34d76421272288ea
tree49fb890c9f23a418ee7b996b169be2bfe224a199
parent17d87571c83177ca60527de8f8919ba5050158d5
vorbis: parse out setup headers as well

Prevents an 'Invalid packet' message. Currently mid-stream setup packets
are ignored. Theoretically, they could, based on the specification, be used to
reinitialize the stream if parameters change, but I don't expect that to be
common (and no one seems to have asked for it).

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vorbis_parser.c
libavcodec/vorbis_parser.h