flvdec: Do not default to a video and audio stream
authorUwe L. Korn <uwelk@xhochy.com>
Sat, 31 May 2014 16:53:01 +0000 (17:53 +0100)
committerMartin Storsjö <martin@martin.st>
Sun, 1 Jun 2014 20:29:40 +0000 (23:29 +0300)
commita1859032e39d96352687186fd179e1559dea2aca
tree47723cddb5dcc98ae7f5585f6b4c7f250777af08
parentf76e3669bb350ca6df150244f3d28d7dc5599f01
flvdec: Do not default to a video and audio stream

If no streams were indicated in the FLV header, do not automatically
allocate by default a video and an audio stream. Instead, in the case
that the header did not indicate the presence of any data, allocate no
stream until data actually arrives for one type.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/flvdec.c