n2b_ds.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* n2b_ds.c -- implementation of the NRV2B decompression algorithm
  2. This file is part of the UCL data compression library.
  3. Copyright (C) 1996-2002 Markus Franz Xaver Johannes Oberhumer
  4. All Rights Reserved.
  5. The UCL library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of
  8. the License, or (at your option) any later version.
  9. The UCL library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with the UCL library; see the file COPYING.
  15. If not, write to the Free Software Foundation, Inc.,
  16. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. Markus F.X.J. Oberhumer
  18. <markus@oberhumer.com>
  19. http://www.oberhumer.com/opensource/ucl/
  20. */
  21. #define SAFE
  22. #define ucl_nrv2b_decompress_8 ucl_nrv2b_decompress_safe_8
  23. #define ucl_nrv2b_decompress_le16 ucl_nrv2b_decompress_safe_le16
  24. #define ucl_nrv2b_decompress_le32 ucl_nrv2b_decompress_safe_le32
  25. #include "n2b_d.c"
  26. #undef SAFE
  27. /*
  28. vi:ts=4:et
  29. */