view mpbswap.h @ 26094:2b4e40be7cb0

Support switching to/from nosound in demux_lavf. Also fixes a bug when pstreams[-1] could be accessed. It happens when switching audio tracks if mplayer was run with '-nosound'.
author eugeni
date Fri, 29 Feb 2008 17:25:57 +0000
parents 4129c8cfa742
children 83c95bd31aab
line wrap: on
line source

#ifndef MPLAYER_MPBSWAP_H
#define MPLAYER_MPBSWAP_H

#include "libavutil/bswap.h"
#ifndef HAVE_SWAB
void swab(const void *from, void *to, ssize_t n);
#endif

#endif /* MPLAYER_MPBSWAP_H */