diff options
-rw-r--r-- | libavformat/httpauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c index 5ca48b9c1d..3f90975ff3 100644 --- a/libavformat/httpauth.c +++ b/libavformat/httpauth.c @@ -225,7 +225,7 @@ static char *make_digest_auth(HTTPAuthState *state, const char *username, av_strlcatf(authstr, len, ",uri=\"%s\"", uri); av_strlcatf(authstr, len, ",response=\"%s\"", response); if (digest->algorithm[0]) - av_strlcatf(authstr, len, ",algorithm=%s", digest->algorithm); + av_strlcatf(authstr, len, ",algorithm=\"%s\"", digest->algorithm); if (digest->opaque[0]) av_strlcatf(authstr, len, ",opaque=\"%s\"", digest->opaque); if (digest->qop[0]) { |