From a12d9a80f225be97b3674b1a0506ac66544dbf49 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 18 Apr 2009 18:21:22 +0200 Subject: rtpvrawdepay: Remove dead assignment. The value of 'str' will never be used in these cases. --- gst/rtp/gstrtpvrawdepay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst') diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c index 4300aaa7..f6338892 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")) { -- cgit