hls: Don't check discard flags until the parent demuxer's streams actually exist
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 13 Aug 2012 18:37:04 +0000 (20:37 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 29 Jul 2013 06:50:05 +0000 (09:50 +0300)
commitcdd2d73d315ecaf19ff49e64c91923275f1bda68
tree67394892f4215f2b78ea316afe9d3d22c07ba63a
parent82bf8c878345b6178ba32c7270a86670a92a72c2
hls: Don't check discard flags until the parent demuxer's streams actually exist

If passing the end of one segment while initializing the
chained demuxer, the parent demuxer's streams aren't set up
yet, so we can't recheck the discard flags.

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