lavf/avio: Remove unnecessary escaping of ' in string literals
authorAlexander Strasser <eclipse7@gmx.net>
Sat, 11 Mar 2017 11:02:32 +0000 (12:02 +0100)
committerAlexander Strasser <eclipse7@gmx.net>
Tue, 14 Mar 2017 21:58:53 +0000 (22:58 +0100)
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
libavformat/avio.c

index 62233a6..9020aa9 100644 (file)
@@ -179,12 +179,12 @@ int ffurl_connect(URLContext *uc, AVDictionary **options)
                (uc->protocol_blacklist && !strcmp(uc->protocol_blacklist, e->value)));
 
     if (uc->protocol_whitelist && av_match_list(uc->prot->name, uc->protocol_whitelist, ',') <= 0) {
-        av_log(uc, AV_LOG_ERROR, "Protocol not on whitelist \'%s\'!\n", uc->protocol_whitelist);
+        av_log(uc, AV_LOG_ERROR, "Protocol not on whitelist '%s'!\n", uc->protocol_whitelist);
         return AVERROR(EINVAL);
     }
 
     if (uc->protocol_blacklist && av_match_list(uc->prot->name, uc->protocol_blacklist, ',') > 0) {
-        av_log(uc, AV_LOG_ERROR, "Protocol blacklisted \'%s\'!\n", uc->protocol_blacklist);
+        av_log(uc, AV_LOG_ERROR, "Protocol blacklisted '%s'!\n", uc->protocol_blacklist);
         return AVERROR(EINVAL);
     }