view fmt-conversion.h @ 29183:edd77b4f699b

Change getdladdr to always use dlopen, dlsym and then dlclose. Performance is not really important and dlsym(0, ...) is not defined while the more correct dlsym(RTLD_DEFAULT, ...) is a GNUism (although POSIX does reserve RTLD_DEFAULT).
author reimar
date Thu, 23 Apr 2009 10:18:32 +0000
parents 21efa4282730
children 1d39794263eb
line wrap: on
line source

#ifndef MPLAYER_FMT_CONVERSION_H
#define MPLAYER_FMT_CONVERSION_H

#include "libavutil/avutil.h"

enum PixelFormat imgfmt2pixfmt(int fmt);
int pixfmt2imgfmt(enum PixelFormat pix_fmt);

#endif /* MPLAYER_FMT_CONVERSION_H */