summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:21:22 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commita12d9a80f225be97b3674b1a0506ac66544dbf49 (patch)
treed259a11a7c69e85c20037154a984f55298be145c
parentb28c6ca0fbe9efca3a28b139df5f796149f21f63 (diff)
rtpvrawdepay: Remove dead assignment.
The value of 'str' will never be used in these cases.
-rw-r--r--gst/rtp/gstrtpvrawdepay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c
index 4300aaa7e..f63388928 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")) {