fix warning for SkMovie
git-svn-id: http://skia.googlecode.com/svn/trunk@8332 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
1361d78e88
commit
069a902a96
@ -69,7 +69,7 @@ static SkMSec savedimage_duration(const SavedImage* image)
|
||||
{
|
||||
if (image->ExtensionBlocks[j].Function == GRAPHICS_EXT_FUNC_CODE)
|
||||
{
|
||||
int size = image->ExtensionBlocks[j].ByteCount;
|
||||
SkDEBUGCODE(int size = )image->ExtensionBlocks[j].ByteCount;
|
||||
SkASSERT(size >= 4);
|
||||
const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes;
|
||||
return ((b[2] << 8) | b[1]) * 10;
|
||||
|
Loading…
Reference in New Issue
Block a user