Signed-off-by: Ting Fu <ting...@intel.com> --- libavfilter/dnn/dnn_backend_openvino.c | 8 -------- 1 file changed, 8 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c index d27e451eea..050be97209 100644 --- a/libavfilter/dnn/dnn_backend_openvino.c +++ b/libavfilter/dnn/dnn_backend_openvino.c @@ -284,14 +284,6 @@ static DNNReturnType get_input_ov(void *model, DNNData *input, const char *input return DNN_ERROR; } - // The order of dims in the openvino is fixed and it is always NCHW for 4-D data. - // while we pass NHWC data from FFmpeg to openvino - status = ie_network_set_input_layout(ov_model->network, input_name, NHWC); - if (status != OK) { - av_log(ctx, AV_LOG_ERROR, "Input \"%s\" does not match layout NHWC\n", input_name); - return DNN_ERROR; - } - input->channels = dims.dims[1]; input->height = dims.dims[2]; input->width = dims.dims[3]; -- 2.17.1 _______________________________________________ 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".