avformat/hls: don't propagate deprecated "user-agent" AVOption
authorwm4 <nfxjfg@googlemail.com>
Sat, 28 Apr 2018 18:36:49 +0000 (20:36 +0200)
committerwm4 <nfxjfg@googlemail.com>
Fri, 4 May 2018 12:16:38 +0000 (14:16 +0200)
commit1d642ebfdb31b7c55ba02500a76f3febf04ce434
tree24dd5283724274c8b534227d09b91574a0444d61
parent022d4a2114d2586d4807f5810160f0f565ab80d7
avformat/hls: don't propagate deprecated "user-agent" AVOption

This code will print a warning if any user agent is set - even if the
API user used the proper non-deprecated "user_agent" option.

This change should not even break anything, because even if the user
sets the deprecated "user-agent" option, http.c copies it to the
"user_agent" option anyway.
libavformat/hls.c