Mercurial > libavutil.hg
changeset 849:21624cf4de9e libavutil
AV_COPY16() & AV_ZERO16()
author | michael |
---|---|
date | Wed, 24 Feb 2010 20:38:31 +0000 |
parents | f435d64fd243 |
children | 3d6e83a917d2 |
files | intreadwrite.h |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/intreadwrite.h Wed Feb 24 18:08:30 2010 +0000 +++ b/intreadwrite.h Wed Feb 24 20:38:31 2010 +0000 @@ -465,6 +465,10 @@ #define AV_COPY(n, d, s) \ (((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n) +#ifndef AV_COPY16 +# define AV_COPY16(d, s) AV_COPY(16, d, s) +#endif + #ifndef AV_COPY32 # define AV_COPY32(d, s) AV_COPY(32, d, s) #endif @@ -489,6 +493,10 @@ #define AV_ZERO(n, d) (((av_alias##n*)(d))->u##n = 0) +#ifndef AV_ZERO16 +# define AV_ZERO16(d) AV_ZERO(16, d) +#endif + #ifndef AV_ZERO32 # define AV_ZERO32(d) AV_ZERO(32, d) #endif