diff options
author | Andrey Utkin <andrey.utkin@corp.bluecherry.net> | 2015-10-01 13:56:31 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-06 12:40:49 +0100 |
commit | eaf03fa8304c7a9ace12f203811641efd64c0c0f (patch) | |
tree | 79eab39f3d901ec23b4d850be60bd440ca40c73d /libavcodec/vima.c | |
parent | 71fc26403f14ea34978b5efe4dd828248167ab09 (diff) | |
download | ffmpeg-eaf03fa8304c7a9ace12f203811641efd64c0c0f.tar.gz |
avformat/httpauth: Add space after commas in HTTP/RTSP auth header
This fixes access to Grandstream cameras, which return 401 to ffmpeg
otherwise.
VLC sends Authorization: header with spaces between parameters, and it
is known to work with Grandstream devices and broad range of other HTTP
and RTSP servers, so author considers switching to such behaviour safe.
Just for record - RFC 2617 (HTTP Auth) does not specify the need in
spaces, so this is not a bug of FFmpeg.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit fdb32838723effb4560a345013387ea37b85ff20)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vima.c')
0 files changed, 0 insertions, 0 deletions