From f10e7a4cd93697bad70bdb1be33184e4703a71df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20Sch=C3=A4fer?= Date: Sun, 9 Sep 2012 20:36:06 +0200 Subject: [PATCH] libv4lconvert: fix format of the error messages concerning jpeg frame size mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Schäfer Signed-off-by: Hans de Goede --- lib/libv4lconvert/jpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libv4lconvert/jpeg.c b/lib/libv4lconvert/jpeg.c index e088a90..aa9cace 100644 --- a/lib/libv4lconvert/jpeg.c +++ b/lib/libv4lconvert/jpeg.c @@ -56,7 +56,7 @@ int v4lconvert_decode_jpeg_tinyjpeg(struct v4lconvert_data *data, } if (header_width != width || header_height != height) { - V4LCONVERT_ERR("unexpected width / height in JPEG header" + V4LCONVERT_ERR("unexpected width / height in JPEG header: " "expected: %ux%u, header: %ux%u\n", width, height, header_width, header_height); errno = EIO; @@ -288,7 +288,7 @@ int v4lconvert_decode_jpeg_libjpeg(struct v4lconvert_data *data, if (data->cinfo.image_width != width || data->cinfo.image_height != height) { - V4LCONVERT_ERR("unexpected width / height in JPEG header" + V4LCONVERT_ERR("unexpected width / height in JPEG header: " "expected: %ux%u, header: %ux%u\n", width, height, data->cinfo.image_width, data->cinfo.image_height); -- 2.7.4