1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Add AV_COPY32

Originally committed as revision 21524 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-29 03:26:17 +00:00
parent 788627dea6
commit 6c88973a75

View File

@ -408,6 +408,10 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed));
#define AV_COPY(n, d, s) (*(uint##n##_t*)(d) = *(const uint##n##_t*)(s)) #define AV_COPY(n, d, s) (*(uint##n##_t*)(d) = *(const uint##n##_t*)(s))
#ifndef AV_COPY32
# define AV_COPY32(d, s) AV_COPY(32, d, s)
#endif
#ifndef AV_COPY64 #ifndef AV_COPY64
# define AV_COPY64(d, s) AV_COPY(64, d, s) # define AV_COPY64(d, s) AV_COPY(64, d, s)
#endif #endif