add a missing rewind to jxlload
This commit is contained in:
parent
50c96a1e3b
commit
b87f5ba615
@ -485,6 +485,9 @@ vips_foreign_load_jxl_header( VipsForeignLoad *load )
|
||||
printf( "vips_foreign_load_jxl_header:\n" );
|
||||
#endif /*DEBUG*/
|
||||
|
||||
if( vips_source_rewind( jxl->source ) )
|
||||
return( -1 );
|
||||
|
||||
if( vips_foreign_load_jxl_fill_input( jxl, 0 ) )
|
||||
return( -1 );
|
||||
JxlDecoderSetInput( jxl->decoder,
|
||||
|
Loading…
Reference in New Issue
Block a user