mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtpvrawdepay: Remove dead assignment.
The value of 'str' will never be used in these cases.
This commit is contained in:
parent
b28c6ca0fb
commit
a12d9a80f2
1 changed files with 2 additions and 2 deletions
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue