[FFmpeg-cvslog] lavu/opt: clarify error message in set_key_value_pair()

Stefano Sabatini git at videolan.org
Mon Apr 30 23:09:38 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Apr 25 17:44:19 2012 +0200| [d4f8d717ab458fb673dd3a0ae61112cacf10310e] | committer: Stefano Sabatini

lavu/opt: clarify error message in set_key_value_pair()

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

 libavutil/opt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/opt.c b/libavutil/opt.c
index 2f8be3b..e14ace9 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -684,7 +684,7 @@ static int parse_key_value_pair(void *ctx, const char **buf,
         return AVERROR(EINVAL);
     }
 
-    av_log(ctx, AV_LOG_DEBUG, "Setting value '%s' for key '%s'\n", val, key);
+    av_log(ctx, AV_LOG_DEBUG, "Setting entry with key '%s' to value '%s'\n", key, val);
 
     ret = av_opt_set(ctx, key, val, 0);
     if (ret == AVERROR_OPTION_NOT_FOUND)



More information about the ffmpeg-cvslog mailing list