]> git.tuebingen.mpg.de Git - paraslash.git/commit
ogg_get_file_info(): Fix off-by-one.
authorAndre Noll <maan@systemlinux.org>
Sun, 29 May 2011 11:53:32 +0000 (13:53 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 29 May 2011 11:53:32 +0000 (13:53 +0200)
commit9f69f3dc96f72badd359d4ab7e65687871bc5876
tree9e755062bc231b5b3d7574f6f3e20376ec7c7358
parent4434989abcd113f73ca5217c3a9ecc74ce2eb1db
ogg_get_file_info(): Fix off-by-one.

The timing information encoded in the chunk table was not always
sufficient to guarantee no buffer underruns since vorbis frames
are frequently spread over two (or more) ogg pages. This should
fix it.
ogg_afh_common.c