pfswrite.cpp (pfstools-2.1.0.tgz) | : | pfswrite.cpp (pfstools-2.2.0.tgz) | ||
---|---|---|---|---|
skipping to change at line 111 | skipping to change at line 111 | |||
(*channel)(index++) = mat(r,c); | (*channel)(index++) = mat(r,c); | |||
} | } | |||
} | } | |||
ctx.writeFrame( frame, fh ); | ctx.writeFrame( frame, fh ); | |||
ctx.freeFrame( frame ); | ctx.freeFrame( frame ); | |||
} | } | |||
catch( pfs::Exception ex ) | catch( pfs::Exception ex ) | |||
{ | { | |||
char error_message[100]; | error( "%s: %s", SCRIPT_NAME, ex.getMessage() ); | |||
sprintf( error_message, "%s: %s", SCRIPT_NAME, ex.getMessage() ); | ||||
error( error_message ); | ||||
} | } | |||
if( fh != stdout ) fclose( fh ); | if( fh != stdout ) fclose( fh ); | |||
return retval; | return retval; | |||
} | } | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added |