Commit f5d49c0e authored by Laurent Aimar's avatar Laurent Aimar

Mde GrabVideo() in v4l2.c a bit easier to follow.

parent 6cbc6e32
...@@ -1348,7 +1348,7 @@ static int Demux( demux_t *p_demux ) ...@@ -1348,7 +1348,7 @@ static int Demux( demux_t *p_demux )
*****************************************************************************/ *****************************************************************************/
static block_t* GrabVideo( vlc_object_t *p_demux, demux_sys_t *p_sys ) static block_t* GrabVideo( vlc_object_t *p_demux, demux_sys_t *p_sys )
{ {
block_t *p_block = NULL; block_t *p_block;
struct v4l2_buffer buf; struct v4l2_buffer buf;
ssize_t i_ret; ssize_t i_ret;
...@@ -1477,7 +1477,7 @@ static block_t* GrabVideo( vlc_object_t *p_demux, demux_sys_t *p_sys ) ...@@ -1477,7 +1477,7 @@ static block_t* GrabVideo( vlc_object_t *p_demux, demux_sys_t *p_sys )
break; break;
default: default:
break; return NULL;
} }
/* Timestamp */ /* Timestamp */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment