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)
committerAnton Khirnov <anton@khirnov.net>
Wed, 21 Sep 2011 12:28:50 +0000 (14:28 +0200)
commit8c987d8291587959bd67728121ced38a0c7691d0
tree6cbe2e966c2c56e307462590d30206432656876b
parent6ddb12b6889dd13c3bb514838c71d2f70114b3c1
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