av1parse: Remove duplicated check

The case of both strings being empty is already checked in the
helper function. No functional changes.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1837>
This commit is contained in:
Nicolas Dufresne 2022-03-02 16:20:31 -05:00 committed by GStreamer Marge Bot
parent 57c2adeeb2
commit f627d6aafc

View file

@ -608,8 +608,7 @@ gst_av1_parse_alignment_from_caps (GstCaps * caps)
str_align = gst_structure_get_string (s, "alignment");
str_stream = gst_structure_get_string (s, "stream-format");
if (str_align || str_stream)
align = gst_av1_parse_alignment_from_string (str_align, str_stream);
align = gst_av1_parse_alignment_from_string (str_align, str_stream);
}
return align;