Skip to content
Snippets Groups Projects
Commit 97b89432 authored by Aman Gupta's avatar Aman Gupta
Browse files

avformat/hls: ignore http_persistent for segments requring crypto


Encrypted HLS segments have regular http:// urls, but open_input()
actually prefixes them with crypto+ before calling open_url(), so
they end up using the crypto protocol and not the http protocol.

This means invoking ff_http_do_new_request will fail, so we avoid
calling it in the first place. After the earlier http.c commit,
the failure results in a warning printed to the user. In earlier
versions, the failure would cause a segfault.

Signed-off-by: default avatarAman Gupta <aman@tmm1.net>
parent 903be5e4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment