Skip to content

Commit

Permalink
Merge pull request google#9 from bshastry/add_protobuf_giflib
Browse files Browse the repository at this point in the history
Minor change to bug fix just for clarity
  • Loading branch information
viniul authored Apr 27, 2019
2 parents 33cac6a + c62ed5f commit 36adeeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/giflib/ProtoToGif.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ void ProtoConverter::visit(ImageChunk const& chunk)

void ProtoConverter::visit(const BasicChunk &chunk)
{
// TODO: Convert graphic control extension
m_hasLCT = false;
// Visit GCExt if necessary
if (chunk.has_gcext())
visit(chunk.gcext());
Expand Down Expand Up @@ -121,6 +119,8 @@ void ProtoConverter::visit(ImageDescriptor const& descriptor)
m_hasLCT = true;
m_localColorExp = packedByte & 0x07;
}
else
m_hasLCT = false;
}

void ProtoConverter::visit(SubBlock const& block)
Expand Down

0 comments on commit 36adeeb

Please sign in to comment.