[FFmpeg-cvslog] dnn_backend_tf.c: fix build issue for tensorflow backend

Guo, Yejun git at videolan.org
Fri Aug 14 04:23:58 EEST 2020


ffmpeg | branch: master | Guo, Yejun <yejun.guo at intel.com> | Thu Aug 13 14:48:11 2020 +0800| [3c05c8a15f2fa5543213f6c8cbe439ad4376137d] | committer: Guo, Yejun

dnn_backend_tf.c: fix build issue for tensorflow backend

Signed-off-by: Guo, Yejun <yejun.guo at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c05c8a15f2fa5543213f6c8cbe439ad4376137d
---

 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 86da99160d..9099d2b812 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;
     }



More information about the ffmpeg-cvslog mailing list