OSDN Git Service

oggdec: Pass packets to header() until the stream is done with them
authorDavid Conrad <lessen42@gmail.com>
Fri, 12 Mar 2010 05:17:01 +0000 (05:17 +0000)
committerDavid Conrad <lessen42@gmail.com>
Fri, 12 Mar 2010 05:17:01 +0000 (05:17 +0000)
commit81b743eb1026547270b88ac6a5cb451a3907ee94
tree02c6f6ecdf88081940e9d2b0ef5f06a75530f72f
parent8730fad595f5f391de21f6b41d04e22a4412e14e
oggdec: Pass packets to header() until the stream is done with them

This fixes some old ogm files that had the 3rd vorbis header after a data
packet in another stream. This is invalid in ogg, but this change shouldn't
affect the behaviour of any valid file.

Originally committed as revision 22478 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggdec.c
libavformat/oggdec.h