Return pkt->size in v4l2_read_packet().
authorLuca Abeni <lucabe72@email.it>
Mon, 14 Dec 2009 10:30:37 +0000 (10:30 +0000)
committerLuca Abeni <lucabe72@email.it>
Mon, 14 Dec 2009 10:30:37 +0000 (10:30 +0000)
commit158aa9f2db642f6f3989386989530b3de46ef31b
treebdb8fabfec6887eb7432c9a8e37967148648f7d8
parentdeda2a4a7237d03b6e3ef2189f5515b550109ac6
Return pkt->size in v4l2_read_packet().
mmap_read_frame() takes care of ensuring that the packet size
is correct.

Originally committed as revision 20855 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/v4l2.c