Mercurial > mplayer.hg
view mpbswap.h @ 26133:94cc4bac8cd0
Turn ancient V offset numerical constants into named ones.
Add a check that checks that the width is within the chosen constant.
This might have been exploitable.
author | michael |
---|---|
date | Wed, 05 Mar 2008 03:00:25 +0000 |
parents | 83c95bd31aab |
children | 131359221d72 |
line wrap: on
line source
#ifndef MPLAYER_MPBSWAP_H #define MPLAYER_MPBSWAP_H #include <sys/types.h> #include "libavutil/bswap.h" #ifndef HAVE_SWAB void swab(const void *from, void *to, ssize_t n); #endif #endif /* MPLAYER_MPBSWAP_H */