fix index -> image_index

This commit is contained in:
Isaac Connor 2021-10-17 15:13:14 -04:00
parent ed901b0235
commit 7b5ab0adae
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ void PacketQueue::clearPackets(const std::shared_ptr<ZMPacket> &add_packet) {
zm_packet = *it; zm_packet = *it;
lp = new ZMLockedPacket(zm_packet); lp = new ZMLockedPacket(zm_packet);
if (!lp->trylock()) { if (!lp->trylock()) {
Debug(3, "Failed locking packet %d", zm_packet->index); Debug(3, "Failed locking packet %d", zm_packet->image_index);
delete lp; delete lp;
break; break;
} }