smpeg-0.4.5-gcc6.patch 887 B

1234567891011121314151617181920212223242526
  1. --- smpeg-0.4.5/audio/hufftable.cpp.old 2016-09-21 17:28:34.497031221 -0400
  2. +++ smpeg-0.4.5/audio/hufftable.cpp 2016-09-21 17:30:24.346141555 -0400
  3. @@ -550,11 +550,11 @@
  4. const HUFFMANCODETABLE MPEGaudio::ht[HTN]=
  5. {
  6. - { 0, 0-1, 0-1, 0, 0, htd33},
  7. + { 0, (unsigned) 0-1, (unsigned) 0-1, 0, 0, htd33},
  8. { 1, 2-1, 2-1, 0, 7,htd01},
  9. { 2, 3-1, 3-1, 0, 17,htd02},
  10. { 3, 3-1, 3-1, 0, 17,htd03},
  11. - { 4, 0-1, 0-1, 0, 0, htd33},
  12. + { 4, (unsigned) 0-1, (unsigned) 0-1, 0, 0, htd33},
  13. { 5, 4-1, 4-1, 0, 31,htd05},
  14. { 6, 4-1, 4-1, 0, 31,htd06},
  15. { 7, 6-1, 6-1, 0, 71,htd07},
  16. @@ -564,7 +564,7 @@
  17. {11, 8-1, 8-1, 0,127,htd11},
  18. {12, 8-1, 8-1, 0,127,htd12},
  19. {13,16-1,16-1, 0,511,htd13},
  20. - {14, 0-1, 0-1, 0, 0, htd33},
  21. + {14, (unsigned) 0-1, (unsigned) 0-1, 0, 0, htd33},
  22. {15,16-1,16-1, 0,511,htd15},
  23. {16,16-1,16-1, 1,511,htd16},
  24. {17,16-1,16-1, 2,511,htd16},