summaryrefslogtreecommitdiff
path: root/libavfilter/dnn_filter_common.h
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-05-08 22:53:53 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-07-06 10:47:57 +0800
commit493f9a5432935ad3d1927e7daacc12a7b4edcd55 (patch)
tree76e49aaf0ffdae9c92f7ef26c069fc333d508ce4 /libavfilter/dnn_filter_common.h
parent6df4bcf1d0714769af31263bf1ad2f418453f7f4 (diff)
downloadffmpeg-493f9a5432935ad3d1927e7daacc12a7b4edcd55.tar.gz
avfilter/dnn_filter_common: Use const where appropriate
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter/dnn_filter_common.h')
-rw-r--r--libavfilter/dnn_filter_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn_filter_common.h b/libavfilter/dnn_filter_common.h
index 36319bfef8..8e43d8c8dc 100644
--- a/libavfilter/dnn_filter_common.h
+++ b/libavfilter/dnn_filter_common.h
@@ -57,7 +57,7 @@ DNNReturnType ff_dnn_get_input(DnnContext *ctx, DNNData *input);
DNNReturnType ff_dnn_get_output(DnnContext *ctx, int input_width, int input_height, int *output_width, int *output_height);
DNNReturnType ff_dnn_execute_model(DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame);
DNNReturnType ff_dnn_execute_model_async(DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame);
-DNNReturnType ff_dnn_execute_model_classification(DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame, char *target);
+DNNReturnType ff_dnn_execute_model_classification(DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame, const char *target);
DNNAsyncStatusType ff_dnn_get_async_result(DnnContext *ctx, AVFrame **in_frame, AVFrame **out_frame);
DNNReturnType ff_dnn_flush(DnnContext *ctx);
void ff_dnn_uninit(DnnContext *ctx);