forked from minhngoc25a/freetype2
* src/sfnt/sfwoff2.c: Minor.
This commit is contained in:
parent
f6c4d58ec8
commit
6cb1146433
|
@ -219,7 +219,10 @@
|
|||
|
||||
if( result != BROTLI_DECODER_RESULT_SUCCESS ||
|
||||
uncompressed_size != dst_size )
|
||||
{
|
||||
FT_ERROR(( "woff2_uncompress: Stream length mismatch.\n" ));
|
||||
return FT_THROW( Invalid_Table );
|
||||
}
|
||||
|
||||
return FT_Err_Ok;
|
||||
|
||||
|
@ -498,7 +501,6 @@
|
|||
}
|
||||
/* Collection directory reading complete. */
|
||||
FT_TRACE2(( "WOFF2 collection dirtectory is valid.\n" ));
|
||||
|
||||
}
|
||||
|
||||
first_table_offset = compute_first_table_offset( &woff2 );
|
||||
|
@ -619,6 +621,7 @@
|
|||
Exit:
|
||||
FT_FREE( tables );
|
||||
FT_FREE( indices );
|
||||
FT_FREE( uncompressed_buf );
|
||||
|
||||
if( error )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue