avformat/hls: return AVERROR_PROTOCOL_NOT_FOUND when http protocol is not available
authorAman Gupta <aman@tmm1.net>
Mon, 25 Dec 2017 19:33:06 +0000 (11:33 -0800)
committerAman Gupta <aman@tmm1.net>
Tue, 26 Dec 2017 22:48:13 +0000 (14:48 -0800)
commita232a72d77cf32766e7f42f892b983f5e496653f
tree365a1c2d8c530bb86fe49f0a0ad2021153a5283d
parent2f9ca64556cba9a7edcca9a1c55923a60022937d
avformat/hls: return AVERROR_PROTOCOL_NOT_FOUND when http protocol is not available

Fixes compile error when building with network or protocols disabled.

This code would never be reached (because the demuxer fails much earlier on http playlists or segments), so it doesn't matter much what we do here as long as it compiles.

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavformat/hls.c