mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 14:40:22 +00:00
vdec/lavc: for wrong param write error not warn
For incorrect param lavd-thread-count write an error and if fatal error handling is enabled, also exit.
This commit is contained in:
@@ -171,7 +171,9 @@ set_codec_context_params(struct state_libavcodec_decompress *s)
|
||||
endptr++;
|
||||
}
|
||||
if (errno != 0) {
|
||||
log_msg(LOG_LEVEL_WARNING, MOD_NAME "Wrong value for thread count value: %s\n", thread_count_opt);
|
||||
MSG(ERROR, "Wrong value for thread count value: %s\n",
|
||||
thread_count_opt);
|
||||
handle_error(EXIT_FAIL_USAGE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user