wxInt32 anih32;
memcpy( &anih32, "anih", 4 );
- if ( stream.SeekI(0) == wxInvalidOffset )
+ if ( stream.IsSeekable() && stream.SeekI(0) == wxInvalidOffset )
{
return false;
}
wxInt32 seq32;
memcpy( &seq32, "seq ", 4 );
- if ( stream.SeekI(0) == wxInvalidOffset)
+ if ( stream.IsSeekable() && stream.SeekI(0) == wxInvalidOffset )
{
return false;
}