avformat/hls: do not call ffurl_seek/ffurl_size on crypto protocol
authorAnssi Hannula <anssi.hannula@iki.fi>
Thu, 10 Apr 2014 20:50:13 +0000 (23:50 +0300)
committerAnssi Hannula <anssi.hannula@iki.fi>
Thu, 10 Apr 2014 21:04:34 +0000 (00:04 +0300)
commit39b192b8e1c136dfc4f3b2a70655607711c5d17a
tree86b2c89322ebe006fe972cd4119bf3c2f5056569
parent517cc81e939fce89c265e8edfef06e44cc362b73
avformat/hls: do not call ffurl_seek/ffurl_size on crypto protocol

ffurl_seek() will not work even when it should be a no-op, so do not
call it on crypto protocol.

Also replace use of ffurl_size() for the same reason.

Reported-by: Michael Schenk <Michael.Schenk@albistechnologies.com>
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
libavformat/hls.c