Message ID | 1371549397.4275.3.camel@pizza.hi.pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -1618,7 +1618,8 @@ static int coda_job_ready(void *m2m_priv) } if (ctx->prescan_failed || - ((coda_get_bitstream_payload(ctx) < 512) && + ((ctx->inst_type == CODA_INST_DECODER) && + (coda_get_bitstream_payload(ctx) < 512) && !(ctx->bit_stream_param & CODA_BIT_STREAM_END_FLAG))) { v4l2_dbg(1, coda_debug, &ctx->dev->v4l2_dev, "%d: not ready: not enough bitstream data.\n",