Fix writes out of bounds in the ogg demuxer.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 11 Sep 2011 21:37:44 +0000 (23:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 16:03:01 +0000 (18:03 +0200)
commitbe82df9e129995321917f47416ac755551915cb0
treeaa865f77a233e5215ec5983e97372ec8992487d6
parentb70a37f854df8b61be2055df352dfec40defce95
Fix writes out of bounds in the ogg demuxer.

Between ogg_save() and ogg_restore() calls, the number of streams
could have been reduced.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bc851a2946c64eefb96145b70e2190ff7d5a4827)
libavformat/oggdec.c