avformat/http: return EINVAL if ff_http_do_new_request is called with non-http URLContext
authorAman Gupta <aman@tmm1.net>
Fri, 29 Dec 2017 23:25:14 +0000 (15:25 -0800)
committerAman Gupta <aman@tmm1.net>
Sat, 30 Dec 2017 17:58:03 +0000 (09:58 -0800)
commitc0b08ef94f037572876448990dca840b85432262
treefb5f69c7e4f77e5871dfcfec216b92dee75ac3c5
parent51027d0b8b2835d4c70c9cb7b2ab5e28d5e3f22f
avformat/http: return EINVAL if ff_http_do_new_request is called with non-http URLContext

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