mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
opencv: remove always-true check
filter->cvImage has just been used/dereferenced, there would be an error there if the pointer was NULL. No need to check since it will always be true.
This commit is contained in:
parent
254337365a
commit
632854eba3
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ gst_template_match_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (filter->cvTemplateImage && filter->cvImage && filter->cvDistImage) {
|
||||
if (filter->cvTemplateImage && filter->cvDistImage) {
|
||||
GstStructure *s;
|
||||
|
||||
gst_template_match_match (filter->cvImage, filter->cvTemplateImage,
|
||||
|
|
Loading…
Reference in a new issue