mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/stf/m2vrequantiser/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Nur in M2VRequantiser-patch: a.out.
  20. Nur in M2VRequantiser-patch: M2VRequantiser.
  21. diff -dur M2VRequantiser/main.c M2VRequantiser-patch/main.c
  22. --- M2VRequantiser/main.c 2004-01-21 23:48:32.000000000 +0000
  23. +++ M2VRequantiser-patch/main.c 2004-07-17 20:02:33.000000000 +0000
  24. @@ -12,7 +12,7 @@
  25. #define NDEBUG // turns off asserts
  26. #define REMOVE_BYTE_STUFFING // removes series of 0x00
  27. -#define USE_GLOBAL_REGISTER // assign registers to bit buffers
  28. +//#define USE_GLOBAL_REGISTER // assign registers to bit buffers
  29. #define MAX_ERRORS 0 // if above copy slice
  30. //#define CHANGE_BRIGHTNESS //add a param to command line, changing brightness: _will_not_recompress_, disables max_errors
  31. @@ -120,7 +120,7 @@
  32. register int inbitcnt asm ("r13");
  33. register int outbitcnt asm ("r14");
  34. register uint32 inbitbuf asm ("r15");
  35. - register uint32 outbitbuf asm ("r16");
  36. + register uint32 outbitbuf asm ("r16");
  37. #else
  38. static int inbitcnt, outbitcnt;
  39. static uint32 inbitbuf, outbitbuf;
  40. Nur in M2VRequantiser-patch: main.c~.
  41. Nur in M2VRequantiser-patch: makeTable.
  42. diff -dur M2VRequantiser/makeTable.c M2VRequantiser-patch/makeTable.c
  43. --- M2VRequantiser/makeTable.c 2003-12-30 05:17:01.000000000 +0000
  44. +++ M2VRequantiser-patch/makeTable.c 2004-07-17 20:10:57.000000000 +0000
  45. @@ -18,8 +18,12 @@
  46. int alt_table = 0;
  47. int fill_table = 1;
  48. - if (argc != 3) return 2;
  49. -
  50. + if (argc != 3)
  51. + {
  52. + printf("Usage: %s { norm | alt | run } OutputFile\n", argv[0]);
  53. + return 2;
  54. + }
  55. +
  56. if (strcmp(argv[1], "norm") == 0) alt_table = 0;
  57. else if (strcmp(argv[1], "alt") == 0) alt_table = 1;
  58. else if (strcmp(argv[1], "run") == 0) fill_table = 0;
  59. Nur in M2VRequantiser-patch: makeTable.c~.
  60. Nur in M2VRequantiser-patch: test.txt.