avformat/vivo: Don't log null value
authorMark Harris <mark.hsj@gmail.com>
Sun, 25 Nov 2018 03:18:43 +0000 (19:18 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Nov 2018 22:47:29 +0000 (23:47 +0100)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/vivo.c

index c9e9c37..9b9189f 100644 (file)
@@ -166,7 +166,7 @@ static int vivo_read_header(AVFormatContext *s)
             value = strchr(key, ':');
             if (!value) {
                 av_log(s, AV_LOG_WARNING, "missing colon in key:value pair '%s'\n",
-                       value);
+                       key);
                 continue;
             }