aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenbin Chen <wenbin.chen@intel.com>2023-12-14 10:49:25 +0800
committerGuo Yejun <yejun.guo@intel.com>2023-12-15 20:04:54 +0800
commite01afa1c6d53eeae93210830968c1f0c111c1b36 (patch)
tree9dc37a1ea711b72f7429db7bfc339bb11ca69f0c
parent081d69b78df8d1f38f99faaa9b9598592c82303b (diff)
downloadffmpeg-e01afa1c6d53eeae93210830968c1f0c111c1b36.tar.gz
libavfilter/vf_dnn_detect: Fix an incorrect expression
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
-rw-r--r--libavfilter/vf_dnn_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_dnn_detect.c b/libavfilter/vf_dnn_detect.c
index 7ac3bb0b58..b82916ce6d 100644
--- a/libavfilter/vf_dnn_detect.c
+++ b/libavfilter/vf_dnn_detect.c
@@ -106,7 +106,7 @@ static int dnn_detect_parse_anchors(char *anchors_str, float **anchors)
i++;
}
nb_anchor++;
- anchors_buf = av_mallocz(nb_anchor * sizeof(*anchors));
+ anchors_buf = av_mallocz(nb_anchor * sizeof(**anchors));
if (!anchors_buf) {
return 0;
}