diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-17 18:29:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-30 16:26:25 -0300 |
commit | bb2e033913f14b2f9f6745e206c3ea5df481b4fd (patch) | |
tree | 700c014464227558914fa302a3056cfc6c779bf8 /Documentation/lockdep-design.txt | |
parent | e42af83f4874ebb2c6af59a05dbe5d45114fb0ed (diff) |
V4L/DVB (5888): zr36067: Driver was not returning correct image size
The driver was returning the size of the (fixed) buffer it allocated as the
sizeimage field in the v4l2 pixel format, rather than the actual size of the
image. For example, a 192x128 YUYV image is 49152 bytes but the driver would
always return 131072 bytes since if that was the size of the v4l buffer.
This violates the v4l2 spec, which says that sizeimage should be the actual
size of the image for uncompressed formats. It also caused mplayer to crash.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Documentation/lockdep-design.txt')
0 files changed, 0 insertions, 0 deletions