On Ma, 2023-12-18 at 14:36 +0800, wenbin.chen-at-intel....@ffmpeg.org wrote: > From: Wenbin Chen <wenbin.c...@intel.com> > > Signed-off-by: Wenbin Chen <wenbin.c...@intel.com> > --- > libavfilter/vf_dnn_detect.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_dnn_detect.c b/libavfilter/vf_dnn_detect.c > index 52d5c3d798..88865c8a8e 100644 > --- a/libavfilter/vf_dnn_detect.c > +++ b/libavfilter/vf_dnn_detect.c > @@ -157,7 +157,7 @@ static int dnn_detect_parse_yolo_output(AVFrame *frame, > DNNData *output, int out > float *output_data = output[output_index].data; > float *anchors = ctx->anchors; > AVDetectionBBox *bbox; > - float (*post_process_raw_data)(float x); > + float (*post_process_raw_data)(float x) = linear; > int is_NHWC = 0; > > if (ctx->model_type == DDMT_YOLOV1V2) {
LGTM, -Haihao _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".