OSDN Git Service

oggdec: fix memleak with continuous streams.
authorClément Bœsch <ubitux@gmail.com>
Wed, 11 May 2011 18:43:27 +0000 (20:43 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 12 May 2011 11:34:20 +0000 (13:34 +0200)
commit5780f41af5d9dcb4d32f06c026ecd146b143baf9
treeb145a771aa285159113f447103ee53a532cc8715
parent2501d2f386be4ab252f547055610e746c826ca91
oggdec: fix memleak with continuous streams.

This avoids the creation of a new AVStream instead of replacing it when
a stream reset occurs (track change with some webradios for example).

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavformat/oggdec.c