diff options
author | Ezequiel Garcia <ezequiel@collabora.com> | 2020-10-07 12:35:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-16 10:31:09 +0100 |
commit | ba928bbd0782d152170ff04f0a1091c0055213bc (patch) | |
tree | 54a15cfe0aa8f4f53e46065e9917d5c342e23653 /drivers/bus/arm-integrator-lm.c | |
parent | f23e5f407ffa400a9958a6ef8c8db7c63b99f28e (diff) |
media: coda: Simplify H.264 small buffer padding logic
The H.264 small buffer padding is done under
the (ctx->qsequence == 0 && payload < 512) condition.
Given this is the exact same condition immediately
above, we can move it right there, making the code
slightly clearer.
This change shouldn't affect functionality as it's just
cosmetics.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/bus/arm-integrator-lm.c')
0 files changed, 0 insertions, 0 deletions