[FFmpeg-devel] [PATCH 1/2] dnn: fix build issue for tensorflow backend
Guo, Yejun
yejun.guo at intel.com
Fri Aug 14 03:42:43 EEST 2020
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Guo,
> Yejun
> Sent: 2020年8月13日 22:47
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 1/2] dnn: fix build issue for tensorflow backend
>
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
> libavfilter/dnn/dnn_backend_tf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
> index 86da991..9099d2b 100644
> --- a/libavfilter/dnn/dnn_backend_tf.c
> +++ b/libavfilter/dnn/dnn_backend_tf.c
> @@ -490,7 +490,7 @@ static DNNReturnType load_native_model(TFModel
> *tf_model, const char *model_file
> DNNModel *native_model = NULL;
> ConvolutionalNetwork *conv_network;
>
> - native_model = ff_dnn_load_model_native(model_filename);
> + native_model = ff_dnn_load_model_native(model_filename, NULL);
> if (!native_model){
> return DNN_ERROR;
> }
> --
I'll first push this patch now.
For the 2/2 patch in this patch set, I'll send out v2 to add option's default setting.
More information about the ffmpeg-devel
mailing list