mirror of https://git.ffmpeg.org/ffmpeg.git
libavfilter/vf_dnn_detect: Fix a control flow issue
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
This commit is contained in:
parent
6d5fbea289
commit
233c44f735
|
@ -455,11 +455,13 @@ static int dnn_detect_post_proc_ov(AVFrame *frame, DNNData *output, int nb_outpu
|
|||
ret = dnn_detect_post_proc_yolo(frame, output, filter_ctx);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
break;
|
||||
case DDMT_YOLOV3:
|
||||
case DDMT_YOLOV4:
|
||||
ret = dnn_detect_post_proc_yolov3(frame, output, filter_ctx, nb_outputs);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue