commit | 7ee20328e470b15528f9f53b7177e05628f92609 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Fri Aug 21 12:36:07 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sat Sep 26 10:11:01 2020 +0200 |
tree | 0c95d003abc48c235508fc81cfba7062eb31c91e | |
parent | 2c86bf67d05692b16b5a82ba62f1e9afcaeb7e7a [diff] |
media: mtk-vcodec: venc: set default time per frame The time per frame was left initialized to 0/0, which make the driver fail v4l2-compliance, and also leaves it potentially exposed to doing a division by zero. Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Acked-by: Tiffany Lin <tiffany.lin@mediatek.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>