hls: Set stream offset before opening a chained demuxer
authorMartin Storsjö <martin@martin.st>
Sun, 28 Jul 2013 17:33:26 +0000 (20:33 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 29 Jul 2013 06:50:06 +0000 (09:50 +0300)
commitc11e33a3d9665dd1fc5dbdecdd03a4860ac6a622
treec758bc9646555e1a50cb2f1b7722aba5f5e7699f
parentcdd2d73d315ecaf19ff49e64c91923275f1bda68
hls: Set stream offset before opening a chained demuxer

This makes sure we don't accidentally check discard flags
for the wrong stream.

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