From b2ba4403aab430c4b1bdb4304b62860a7ebb854b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 29 Sep 2024 20:41:15 +0200 Subject: Remove mp4v2, which is no longer required. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../mp4v2-2.0.0~dfsg0/libplatform/number/random.h | 18 ---------------- .../libplatform/number/random_posix.cpp | 24 ---------------------- .../libplatform/number/random_win32.cpp | 24 ---------------------- 3 files changed, 66 deletions(-) delete mode 100644 debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h delete mode 100644 debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp delete mode 100644 debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp (limited to 'debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number') 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 - -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 - -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 -- cgit v1.2.1