asfdec: increment nb_streams right after the stream allocation
authorAlexandra Hájková <alexandra.khirnova@gmail.com>
Thu, 23 Jul 2015 06:59:53 +0000 (08:59 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 23 Jul 2015 07:48:26 +0000 (09:48 +0200)
commitaed7715b8fa295980c221f1cd095d42cd3bd74a6
tree9126b087e8d7b93e5fa3b1b2e61e9f350a90fa95
parentee80f834cbb6dbacdc1efb4c658a7d775e82ebff
asfdec: increment nb_streams right after the stream allocation

to prevent possible memory leaks

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