• Aman Gupta's avatar
    avformat/hls: ignore http_persistent for segments requring crypto · 97b89432
    Aman Gupta authored
    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: 's avatarAman Gupta <aman@tmm1.net>
    97b89432
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...