media/gpu/v4l2: Fix DCHECK in V4L2 coded size estimation
The math on this line was using integers, which means it could end up dropping fractional parts so that the DCHECK against sizeimage could fail. This fixes that problem. BUG=b:147411004 TEST=Fixes DCHECK on trogdor vea tests Change-Id: Ia4034e790268323a9decdfffe0815b69da8cefbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086193 Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Auto-Submit: Jeffrey Kardatzke <jkardatzke@google.com> Cr-Commit-Position: refs/heads/master@{#748763}
Showing
Please register or sign in to comment