summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Linnan Li <lilinnan@xiaomi.corp-partner.google.com> 2024-04-19 17:14:43 +0000
committer Siarhei Vishniakou <svv@google.com> 2024-04-19 17:23:26 +0000
commit13ccabe140b516e1f75ae3db004eb1b8b99235e0 (patch)
treef2b4f29cea2d083f97bcda3e1cb88a38af2bcdd6 /libs/ultrahdr/jpegencoderhelper.cpp
parentf55e4459f4e0de68700b9c6c9150734497d6b4a9 (diff)
Adding details after a flag is not found in MotionFlags
Because from_bits will return a None if we encounter a flag that we can't find, and if we call unwrap directly we will have a crash, but the crash message here will confuse us, so here we add some detailed information to help us locate the problem later. Bug: none Test: Build Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:2d17392f625885a7a4e49bad59f5793223c73dda) Merged-In: If3970964ef696e22dc651579a4c297f431b3e0ca Change-Id: If3970964ef696e22dc651579a4c297f431b3e0ca
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions