mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-09 04:49:05 +00:00
[libvpx] Update to v1.12.0
This commit is contained in:
1 parent
287a71dc66
commit
b5046d2a76
572 files changed
+52900
-29493
No files matched your search
@@ -24,22 +24,22 @@ extern "C" {
|
||||
/* Only need this for fixed-size arrays, for structs just assign. */
|
||||
|
||||
#define vp8_copy(Dest, Src) \
|
||||
{ \
|
||||
do { \
|
||||
assert(sizeof(Dest) == sizeof(Src)); \
|
||||
memcpy(Dest, Src, sizeof(Src)); \
|
||||
}
|
||||
} while (0)
|
||||
|
||||
/* Use this for variably-sized arrays. */
|
||||
|
||||
#define vp8_copy_array(Dest, Src, N) \
|
||||
{ \
|
||||
do { \
|
||||
assert(sizeof(*(Dest)) == sizeof(*(Src))); \
|
||||
memcpy(Dest, Src, (N) * sizeof(*(Src))); \
|
||||
}
|
||||
} while (0)
|
||||
|
||||
#define vp8_zero(Dest) memset(&(Dest), 0, sizeof(Dest));
|
||||
#define vp8_zero(Dest) memset(&(Dest), 0, sizeof(Dest))
|
||||
|
||||
#define vp8_zero_array(Dest, N) memset(Dest, 0, (N) * sizeof(*(Dest)));
|
||||
#define vp8_zero_array(Dest, N) memset(Dest, 0, (N) * sizeof(*(Dest)))
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
||||
Reference in new issue
Block a user