oggdec: fix out of bound write in the ogg demuxer
authorLaurent Aimar <fenrir@videolan.org>
Sun, 11 Sep 2011 21:26:12 +0000 (23:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Nov 2011 02:28:27 +0000 (03:28 +0100)
commit52b8edc94c9fa4c613fdfdc0a53512d0ac26345f
treecb694c9685fa2a0336f782fe7aeeeb88847a0447
parentf936799f0b72799000cd842922a05005f70cb553
oggdec: fix out of bound write in the ogg demuxer

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

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 0e7efb9d23c3641d50caa288818e8c27647ce74d)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/oggdec.c