summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Pawan Wagh <waghpawan@google.com> 2024-06-05 16:51:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-06-05 16:51:10 +0000
commitdc2cfc8a10b8b74ec2c70f3b2d32aa9bf765de87 (patch)
tree4f1ce8b407442547c80a9c4d6855764284cbd11f /cmds/bootanimation/BootAnimation.cpp
parent5d9d2631d1a6b25b315ffc55670e565e25a3fc9d (diff)
parent429a1d5926b2951bc34f41895b1fe6ceb602f8b2 (diff)
Merge changes from topic "unify_getentryinfo" into main
* changes: Fix usage of ZipFileRO::getEntryInfo Fix usage of ZipFileRO::getEntryInfo Combine ZipFileRO::getEntryInfo
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
-rw-r--r--cmds/bootanimation/BootAnimation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp
index 5adcd930e341..7eb9d0f3ea91 100644
--- a/cmds/bootanimation/BootAnimation.cpp
+++ b/cmds/bootanimation/BootAnimation.cpp
@@ -1335,7 +1335,8 @@ bool BootAnimation::preloadZip(Animation& animation) {
if (path.string() == animation.parts[j].path.c_str()) {
uint16_t method;
// supports only stored png files
- if (zip->getEntryInfo(entry, &method, nullptr, nullptr, nullptr, nullptr, nullptr)) {
+ if (zip->getEntryInfo(entry, &method, nullptr, nullptr, nullptr, nullptr,
+ nullptr, nullptr)) {
if (method == ZipFileRO::kCompressStored) {
FileMap* map = zip->createEntryFileMap(entry);
if (map) {