view mpbswap.h @ 27792:3ebf88c5eb3d

Do not attempt to use the unscaled yuv2rgb converter when height is odd because it will overflow the buffer by 1 line. This might have been exploitable.
author michael
date Sat, 25 Oct 2008 15:00:28 +0000
parents 0d255d03016f
children c1a3f1bbba26
line wrap: on
line source

#ifndef MPLAYER_MPBSWAP_H
#define MPLAYER_MPBSWAP_H

#include <sys/types.h>
#include "config.h"
#include "libavutil/bswap.h"

#ifndef HAVE_SWAB
void swab(const void *from, void *to, ssize_t n);
#endif

#endif /* MPLAYER_MPBSWAP_H */