1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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:
Shubhanshu Saxena 2021-06-05 23:38:05 +05:30 committed by Guo Yejun
parent 9675ebbb91
commit 6b961f7409

View File

@ -33,8 +33,8 @@ typedef struct TaskItem {
AVFrame *out_frame;
const char *input_name;
const char **output_names;
int async;
int do_ioproc;
uint8_t async;
uint8_t do_ioproc;
uint32_t nb_output;
uint32_t inference_todo;
uint32_t inference_done;