dashdec: Correct seeking behaviour
authorsfan5 <sfan5@live.de>
Sun, 14 Jan 2018 14:36:02 +0000 (22:36 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 14 Jan 2018 14:36:02 +0000 (22:36 +0800)
commit74b143d81fa38cd4f05a0db889a19a2cb7ff226c
tree63be000b6b3f4b520b7391c0eefecf85b06a6921
parentbb0cc2e7bd6d6cc79413ed898e405c1b11c47759
dashdec: Correct seeking behaviour

dash_read_seek() is called only once to issue a seek
of *all* streams to the specified timestamp. But to
avoid reopening each stream, do a "dry run" for streams
that are in a discarded state.

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/dashdec.c