mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
raw1394: Remove unneeded variable
This commit is contained in:
parent
d29ba8d48f
commit
3fd4cdcc43
1 changed files with 1 additions and 2 deletions
|
@ -713,7 +713,6 @@ gst_dv1394src_discover_avc_node (GstDV1394Src * src)
|
||||||
/* loop over all our ports */
|
/* loop over all our ports */
|
||||||
for (; j < m && node == -1; j++) {
|
for (; j < m && node == -1; j++) {
|
||||||
raw1394handle_t handle;
|
raw1394handle_t handle;
|
||||||
gint n_ports;
|
|
||||||
struct raw1394_portinfo pinf[16];
|
struct raw1394_portinfo pinf[16];
|
||||||
|
|
||||||
/* open the port */
|
/* open the port */
|
||||||
|
@ -722,7 +721,7 @@ gst_dv1394src_discover_avc_node (GstDV1394Src * src)
|
||||||
GST_WARNING ("raw1394 - failed to get handle: %s.\n", strerror (errno));
|
GST_WARNING ("raw1394 - failed to get handle: %s.\n", strerror (errno));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ((n_ports = raw1394_get_port_info (handle, pinf, 16)) < 0) {
|
if (raw1394_get_port_info (handle, pinf, 16) < 0) {
|
||||||
GST_WARNING ("raw1394 - failed to get port info: %s.\n",
|
GST_WARNING ("raw1394 - failed to get port info: %s.\n",
|
||||||
strerror (errno));
|
strerror (errno));
|
||||||
goto next;
|
goto next;
|
||||||
|
|
Loading…
Reference in a new issue