diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:21:22 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:28 +0200 |
commit | a12d9a80f225be97b3674b1a0506ac66544dbf49 (patch) | |
tree | d259a11a7c69e85c20037154a984f55298be145c /gst/rtp | |
parent | b28c6ca0fbe9efca3a28b139df5f796149f21f63 (diff) |
rtpvrawdepay: Remove dead assignment.
The value of 'str' will never be used in these cases.
Diffstat (limited to 'gst/rtp')
-rw-r--r-- | gst/rtp/gstrtpvrawdepay.c | 4 |
1 files changed, 2 insertions, 2 deletions
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")) { |