Group :: Video
RPM: tvtime
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: tvtime-1.0.2-videoinput.patch
Download
Download
VIDIOC_DQBUF called without setting cur_buf.memory
--- tvtime/src/videoinput.c 2006-01-06 10:04:14.000000000 +0100
+++ tvtime/src/videoinput.c 2006-01-06 10:03:59.000000000 +0100
@@ -377,6 +377,7 @@
wait_for_frame_v4l2( vidin );
cur_buf.type = vidin->capbuffers[ 0 ].vidbuf.type;
+ cur_buf.memory = vidin->capbuffers[ 0 ].vidbuf.memory;
if( ioctl( vidin->grab_fd, VIDIOC_DQBUF, &cur_buf ) < 0 ) {
/* some drivers return EIO when there is no signal */
if( errno != EIO ) {