OpenSDE Packages Database (without history before r20070)
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.

48 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../openlibraries/compile-fix.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Nur openlibraries-0.4.0-orig/src/openmedialib/plugins/avformat/avformat_plugin.cpp openlibraries-0.4.0/src/openmedialib/plugins/avformat/avformat_plugin.cpp
  17. --- openlibraries-0.4.0-orig/src/openmedialib/plugins/avformat/avformat_plugin.cpp 2008-02-26 18:31:24.000000000 +0100
  18. +++ openlibraries-0.4.0/src/openmedialib/plugins/avformat/avformat_plugin.cpp 2008-02-26 18:38:39.000000000 +0100
  19. @@ -10,6 +10,10 @@
  20. #include <openpluginlib/pl/pcos/isubject.hpp>
  21. #include <openpluginlib/pl/pcos/observer.hpp>
  22. +#ifndef INT64_C
  23. +#define INT64_C(x) x ## LL
  24. +#endif // INT64_C
  25. +
  26. #ifdef WIN32
  27. #include <windows.h>
  28. #endif // WIN32
  29. @@ -1917,7 +1921,7 @@
  30. {
  31. public:
  32. // filter_type overloads
  33. - explicit avformat_resampler_filter::avformat_resampler_filter(const opl::wstring &)
  34. + explicit avformat_resampler_filter(const opl::wstring &)
  35. : filter_type()
  36. , prop_output_channels_(pcos::key::from_string("channels"))
  37. , prop_output_sample_freq_(pcos::key::from_string("frequency"))
  38. @@ -2012,7 +2016,7 @@
  39. }
  40. }
  41. - frame_type_ptr avformat_resampler_filter::fetch()
  42. + frame_type_ptr fetch()
  43. {
  44. // Get the filter input
  45. input_type_ptr input = fetch_slot( );