]> git.sesse.net Git - ffmpeg/commitdiff
dnn_backend_tf.c: fix build issue for tensorflow backend
authorGuo, Yejun <yejun.guo@intel.com>
Thu, 13 Aug 2020 06:48:11 +0000 (14:48 +0800)
committerGuo, Yejun <yejun.guo@intel.com>
Fri, 14 Aug 2020 00:59:39 +0000 (08:59 +0800)
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
libavfilter/dnn/dnn_backend_tf.c

index 86da99160da960e4ef6a68e5a1759c8a23cee76b..9099d2b81294800aadd0e7cd274f54a5195c6c86 100644 (file)
@@ -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;
     }