view mpbswap.h @ 25444:acaa10e43c52

Move ds->current=NULL; further up to the free_demux_packet. This does not change behaviour in the normal case but avoids a double-free if the function is aborted via a signal handler.
author reimar
date Thu, 20 Dec 2007 11:21:02 +0000
parents 2606b8c645de
children 4129c8cfa742
line wrap: on
line source

#ifndef MPBSWAP_H
#define MPBSWAP_H

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

#endif /* MPBSWAP_H */