diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-20 11:34:28 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-20 11:34:28 +0100 |
commit | d3f2882c7b2e1bdf197ad60cfaf4732858d0e708 (patch) | |
tree | 2295511725879412b084e9de541074c96ea2953b /linux/drivers/media/video/zoran | |
parent | 92b6b4bed8a77876fa7889ee8bcc86798ccc3762 (diff) | |
download | mediapointer-dvb-s2-d3f2882c7b2e1bdf197ad60cfaf4732858d0e708.tar.gz mediapointer-dvb-s2-d3f2882c7b2e1bdf197ad60cfaf4732858d0e708.tar.bz2 |
zoran: s_jpegcomp should return a proper result, not 0.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/zoran')
-rw-r--r-- | linux/drivers/media/video/zoran/zoran_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/zoran/zoran_driver.c b/linux/drivers/media/video/zoran/zoran_driver.c index b2e7ce15c..7ddbdf37d 100644 --- a/linux/drivers/media/video/zoran/zoran_driver.c +++ b/linux/drivers/media/video/zoran/zoran_driver.c @@ -3120,7 +3120,7 @@ static int zoran_s_jpegcomp(struct file *file, void *__fh, sjpegc_unlock_and_return: mutex_unlock(&zr->resource_lock); - return 0; + return res; } static unsigned int |