transcode-1.1.7-gcc10.patch 860 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --- a/import/demux_pass.c
  2. +++ b/import/demux_pass.c
  3. @@ -32,8 +32,6 @@
  4. #include "packets.h"
  5. -int gop, gop_pts, gop_cnt;
  6. -
  7. /* if you listen carefully, then you can hear the desesperate
  8. * whisper of this code calling for a rewrite. Or for a redesign.
  9. * Or both. -- FR
  10. --- a/import/extract_ac3.c
  11. +++ b/import/extract_ac3.c
  12. @@ -334,7 +334,6 @@
  13. FILE *fd;
  14. #define MAX_BUF 4096
  15. -char audio[MAX_BUF];
  16. /* from ac3scan.c */
  17. @@ -472,6 +471,8 @@
  18. void extract_ac3(info_t *ipipe)
  19. {
  20. + char audio[MAX_BUF];
  21. +
  22. int error=0;
  23. avi_t *avifile;
  24. --- a/import/extract_mp3.c
  25. +++ b/import/extract_mp3.c
  26. @@ -243,7 +243,6 @@
  27. }
  28. #define MAX_BUF 4096
  29. -char audio[MAX_BUF];
  30. /* ------------------------------------------------------------
  31. *
  32. @@ -258,6 +257,7 @@
  33. void extract_mp3(info_t *ipipe)
  34. {
  35. + char audio[MAX_BUF];
  36. int error=0;