view mpbswap.h @ 29290:ef46d5a66bb2

Use a malloced string for the get_term_charset return value. This is necessary at least on POSIX systems since the buffer returned by nl_langinfo may change its contents with e.g. each setlocale call.
author reimar
date Sun, 31 May 2009 13:00:51 +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 */