[FFmpeg-cvslog] lavfi/dnn_backend_openvino.c: fix crash when target is not specified

2021-06-19 Thread Guo Yejun
ffmpeg | branch: master | Guo Yejun  | Sun Jun 13 21:27:13 
2021 +0800| [2cf95f2dd96264586b703e7ea32e41df61497b60] | committer: Guo Yejun

lavfi/dnn_backend_openvino.c: fix crash when target is not specified

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

 libavfilter/dnn/dnn_backend_openvino.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavfilter/dnn/dnn_backend_openvino.c 
b/libavfilter/dnn/dnn_backend_openvino.c
index 702c4fb9ee..d002feb167 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b/libavfilter/dnn/dnn_backend_openvino.c
@@ -598,8 +598,10 @@ static DNNReturnType 
extract_inference_from_task(DNNFunctionType func_type, Task
 InferenceItem *inference;
 const AVDetectionBBox *bbox = av_get_detection_bbox(header, i);
 
-if (av_strncasecmp(bbox->detect_label, params->target, 
sizeof(bbox->detect_label)) != 0) {
-continue;
+if (params->target) {
+if (av_strncasecmp(bbox->detect_label, params->target, 
sizeof(bbox->detect_label)) != 0) {
+continue;
+}
 }
 
 inference = av_malloc(sizeof(*inference));

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-cvslog] [ffmpeg-web] branch master updated. 8e59cc3 web: add news about IRC move (based on text from twitter)

2021-06-19 Thread ffmpeg-git
The branch, master has been updated
   via  8e59cc3f48e3949aeea4300a12aaabe6ebf12985 (commit)
  from  3654fb726cc93f0974ded1b66ff2338ad0d55b83 (commit)


- Log -
commit 8e59cc3f48e3949aeea4300a12aaabe6ebf12985
Author: Michael Niedermayer 
AuthorDate: Fri Jun 18 16:15:39 2021 +0200
Commit: Michael Niedermayer 
CommitDate: Sat Jun 19 16:10:06 2021 +0200

web: add news about IRC move (based on text from twitter)

Signed-off-by: Michael Niedermayer 

diff --git a/src/index b/src/index
index e456ed2..982fa33 100644
--- a/src/index
+++ b/src/index
@@ -35,6 +35,13 @@
 News
   
 
+  June 19th, 2021, IRC
+  
+We have a new IRC home at Libera Chat
+now! Feel free to join us at #ffmpeg and #ffmpeg-devel. More info at https://ffmpeg.org/contact.html#IRCChannels";>contact#IRCChannels
+  
+
+
   April 8th, 2021, FFmpeg 4.4 "Rao"
   
 FFmpeg 4.4 "Rao", a new

---

Summary of changes:
 src/index | 7 +++
 1 file changed, 7 insertions(+)


hooks/post-receive
-- 

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".