[FFmpeg-cvslog] avformat/vivo: Don't log null value

Mark Harris git at videolan.org
Tue Nov 27 00:51:09 EET 2018


ffmpeg | branch: master | Mark Harris <mark.hsj at gmail.com> | Sat Nov 24 19:18:43 2018 -0800| [01dc152a92d3ea144ac12ef25f41cc8a44f4b4ef] | committer: Michael Niedermayer

avformat/vivo: Don't log null value

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01dc152a92d3ea144ac12ef25f41cc8a44f4b4ef
---

 libavformat/vivo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/vivo.c b/libavformat/vivo.c
index c9e9c37f37..9b9189f307 100644
--- a/libavformat/vivo.c
+++ b/libavformat/vivo.c
@@ -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;
             }
 



More information about the ffmpeg-cvslog mailing list