Fixes Coverity CID 709362: Argument cannot be negative (NEGATIVE_RETURNS)
Function "lseek(this->fd, 0LL, 0)" returns a negative number.
Assigning: signed variable "pos" = "lseek".
...
"pos" is passed to a parameter that cannot be negative.
548 fail_if( lseek( fd, pos, SEEK_SET ) == ( off_t ) - 1 );
int container = AddDirectoryEntry( make_fourcc( "FILE" ), make_fourcc( "FILE" ), 0, RIFF_NO_PARENT );
pos = lseek( fd, 0, SEEK_SET );
+ fail_if( pos == -1 );
/* calculate file size from RIFF header instead from physical file. */