Commit 18b1381c authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/opt: fix av_log type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent db4918b7
...@@ -946,7 +946,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit, ...@@ -946,7 +946,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit,
av_log(av_log_obj, AV_LOG_INFO, " (default "); av_log(av_log_obj, AV_LOG_INFO, " (default ");
switch (opt->type) { switch (opt->type) {
case AV_OPT_TYPE_FLAGS: case AV_OPT_TYPE_FLAGS:
av_log(av_log_obj, AV_LOG_INFO, "%0llX", opt->default_val.i64); av_log(av_log_obj, AV_LOG_INFO, "%"PRIX64, opt->default_val.i64);
break; break;
case AV_OPT_TYPE_DURATION: case AV_OPT_TYPE_DURATION:
case AV_OPT_TYPE_INT: case AV_OPT_TYPE_INT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment