diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-09-29 20:41:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-09-29 20:41:15 +0200 |
commit | b2ba4403aab430c4b1bdb4304b62860a7ebb854b (patch) | |
tree | 2a8a5d8cc5c4441c320a793cafc19c3902bb68f0 /debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number | |
parent | ae40ab062f6aa8986d22012b3799062c9739ae88 (diff) | |
download | extra-dependencies-b2ba4403aab430c4b1bdb4304b62860a7ebb854b.tar.gz extra-dependencies-b2ba4403aab430c4b1bdb4304b62860a7ebb854b.zip |
Remove mp4v2, which is no longer required.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number')
3 files changed, 0 insertions, 66 deletions
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h b/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h deleted file mode 100644 index 9d0f105b..00000000 --- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef MP4V2_PLATFORM_NUMBER_RANDOM_H -#define MP4V2_PLATFORM_NUMBER_RANDOM_H - -namespace mp4v2 { namespace platform { namespace number { - -/////////////////////////////////////////////////////////////////////////////// - -/// Generate 32-bit pseudo-random number. -MP4V2_EXPORT uint32_t random32(); - -/// Seed pseudo-random number generator. -MP4V2_EXPORT void srandom( uint32_t ); - -/////////////////////////////////////////////////////////////////////////////// - -}}} // namespace mp4v2::platform::number - -#endif // MP4V2_PLATFORM_NUMBER_RANDOM_H diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp b/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp deleted file mode 100644 index 0bdcd1db..00000000 --- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "libplatform/impl.h" -#include <stdlib.h> - -namespace mp4v2 { namespace platform { namespace number { - -/////////////////////////////////////////////////////////////////////////////// - -uint32_t -random32() -{ - return uint32_t( ::random() ); -} - -/////////////////////////////////////////////////////////////////////////////// - -void -srandom( uint32_t seed ) -{ - ::srandom( seed ); -} - -/////////////////////////////////////////////////////////////////////////////// - -}}} // namespace mp4v2::platform::time diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp b/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp deleted file mode 100644 index f884e5dc..00000000 --- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "libplatform/impl.h" -#include <stdlib.h> - -namespace mp4v2 { namespace platform { namespace number { - -/////////////////////////////////////////////////////////////////////////////// - -uint32_t -random32() -{ - return uint32_t( ::rand() << 16 | ::rand() ); -} - -/////////////////////////////////////////////////////////////////////////////// - -void -srandom( uint32_t seed ) -{ - ::srand( seed ); -} - -/////////////////////////////////////////////////////////////////////////////// - -}}} // namespace mp4v2::platform::time |