diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c index 4300aaa7e1..f633889282 100644 --- a/gst/rtp/gstrtpvrawdepay.c +++ b/gst/rtp/gstrtpvrawdepay.c @@ -139,10 +139,10 @@ gst_rtp_vraw_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps) /* optional interlace value but we don't handle interlaced * formats yet */ - if ((str = gst_structure_get_string (structure, "interlace"))) + if (gst_structure_get_string (structure, "interlace")) goto interlaced; - if (!(str = gst_structure_get_string (structure, "sampling"))) + if (gst_structure_get_string (structure, "sampling")) goto no_sampling; if (!strcmp (str, "RGB")) {