Mercurial > mplayer.hg
view fmt-conversion.h @ 29811:0cc6fcd342fd
Add a check if compiler creates PIC code and if so add -DPIC to YASMFLAGS.
Should make it possible to compile MPlayer as PIE on x86_64 e.g. on
hardened Gentoo and probably OpenBSD, too.
author | reimar |
---|---|
date | Sun, 08 Nov 2009 15:38:59 +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 */