summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/yavta.c b/yavta.c
index 6a7586c..d562863 100644
--- a/yavta.c
+++ b/yavta.c
@@ -2256,7 +2256,8 @@ static int video_do_capture(struct device *dev, unsigned int nframes,
i, ts.tv_sec, ts.tv_nsec/1000, fps, bps);
done:
- return video_free_buffers(dev);
+ video_free_buffers(dev);
+ return ret;
}
#define V4L_BUFFERS_DEFAULT 8