]> git.sesse.net Git - ffmpeg/commit
hls: only seek if there is an offset
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 22 Sep 2015 11:40:20 +0000 (13:40 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 22 Sep 2015 19:00:01 +0000 (21:00 +0200)
commitf9f0b4c08e7dc2c178ede137af4f64ca84ab2deb
tree0b602fa2a90cdf3276f9040fd7b7755951b57517
parente859a3c864d57afaed46b99c3eb744b62ab36de4
hls: only seek if there is an offset

If there is no #EXT-X-BYTERANGE specified, there is no need to seek.
Seeking fails anyway for rtmp, because this protocol does not support
url_seek.

This fixes CNN.m3u from trac ticket 4797 (i.e. Debian bug #798189).

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/hls.c