aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/files/patch-v4l
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc/files/patch-v4l')
-rw-r--r--multimedia/vlc/files/patch-v4l2
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/vlc/files/patch-v4l b/multimedia/vlc/files/patch-v4l
index 54e855434bfb..8e839692da80 100644
--- a/multimedia/vlc/files/patch-v4l
+++ b/multimedia/vlc/files/patch-v4l
@@ -67,7 +67,7 @@
}
- memcpy( p_block->p_buffer, p_frame, p_sys->i_video_frame_size );
-+ if(read(p_sys->fd_video, p_block->p_buffer, p_sys->i_video_frame_size) <= 0)
++ if(read(p_sys->i_fd, p_block->p_buffer, p_sys->i_video_frame_size) <= 0)
+ return 0;
+
p_sys->i_video_pts = p_block->i_pts = p_block->i_dts = mdate();