mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/dnn: Use uint8_t for async and do_ioproc in TaskItems
These properties have values either 0 or 1, so using uint8_t is a better option as compared to int. Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
This commit is contained in:
parent
9675ebbb91
commit
6b961f7409
|
@ -33,8 +33,8 @@ typedef struct TaskItem {
|
||||||
AVFrame *out_frame;
|
AVFrame *out_frame;
|
||||||
const char *input_name;
|
const char *input_name;
|
||||||
const char **output_names;
|
const char **output_names;
|
||||||
int async;
|
uint8_t async;
|
||||||
int do_ioproc;
|
uint8_t do_ioproc;
|
||||||
uint32_t nb_output;
|
uint32_t nb_output;
|
||||||
uint32_t inference_todo;
|
uint32_t inference_todo;
|
||||||
uint32_t inference_done;
|
uint32_t inference_done;
|
||||||
|
|
Loading…
Reference in New Issue