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

Stefano Sabatini stefasab at gmail.com
Sun Apr 29 21:42:53 CEST 2012


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

diff --git a/libavutil/opt.c b/libavutil/opt.c
index 60ae1dc..2b26860 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -694,7 +694,7 @@ static int set_key_value_pair(void *ctx, const char **buf,
         goto end;
     }
 
-    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)
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list