diff options
Diffstat (limited to 'drivers/media/platform/coda/coda-bit.c')
-rw-r--r-- | drivers/media/platform/coda/coda-bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c index 21beb97974c2..7d28899f89ce 100644 --- a/drivers/media/platform/coda/coda-bit.c +++ b/drivers/media/platform/coda/coda-bit.c | |||
@@ -246,7 +246,7 @@ void coda_fill_bitstream(struct coda_ctx *ctx, bool streaming) | |||
246 | 246 | ||
247 | /* Drop frames that do not start/end with a SOI/EOI markers */ | 247 | /* Drop frames that do not start/end with a SOI/EOI markers */ |
248 | if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG && | 248 | if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG && |
249 | !coda_jpeg_check_buffer(ctx, src_buf)) { | 249 | !coda_jpeg_check_buffer(ctx, &src_buf->vb2_buf)) { |
250 | v4l2_err(&ctx->dev->v4l2_dev, | 250 | v4l2_err(&ctx->dev->v4l2_dev, |
251 | "dropping invalid JPEG frame %d\n", | 251 | "dropping invalid JPEG frame %d\n", |
252 | ctx->qsequence); | 252 | ctx->qsequence); |