view mpbswap.h @ 28320:aac3629b180d

Actually abort (return NULL) in the alloc-failure check in play_tree_new instead of going right ahead and crashing. Patch by Luis Felipe Strano Moraes (luis strano gmail com).
author reimar
date Sun, 25 Jan 2009 18:25:11 +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 */