view mpbswap.h @ 28983:c187b93afdf1

Avoid crash on planarCopy to a destination without alpha. Makes regression tests run again, though the results are still wrong.
author reimar
date Fri, 20 Mar 2009 17:22:03 +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 */