oggdec: prevent heap corruption.
authorChris Evans <cevans@chromium.org>
Wed, 29 Jun 2011 22:44:40 +0000 (15:44 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 11 Jul 2011 23:37:11 +0000 (16:37 -0700)
commit4cc3467e7abfea7e8d03b6af511f7719038a5a98
treebe47610fc6a7dab1a33f01257eac9cfb65405ada
parentb047941d7da470ba0dcedb1fd0aa828075265ffc
oggdec: prevent heap corruption.

Specifically crafted samples can reinit ogg->streams[] while
reading samples, and thus we should not cache old pointers since
these may no longer be valid.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/oggdec.c