diff options
author | Aman Gupta <aman@tmm1.net> | 2017-12-29 15:30:55 -0800 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2017-12-30 21:07:55 -0800 |
commit | 97b89432e4566a5d620f97bfdf4c8ae9c83d94e8 (patch) | |
tree | 873b348200100758571264c7caace25f14021d11 /tests/ffserver-regression.sh | |
parent | 903be5e4f66268273dc6e3c42a7fdeaab32066ef (diff) | |
download | ffmpeg-97b89432e4566a5d620f97bfdf4c8ae9c83d94e8.tar.gz |
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: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'tests/ffserver-regression.sh')
0 files changed, 0 insertions, 0 deletions