view fmt-conversion.h @ 28608:7a759aa746b6

Handle mpcodecs_get_image returning NULL, FFmpeg most of the time handles it correctly (VDPAU and probably H.264 currently don't, MPEG1/2 does etc.).
author reimar
date Wed, 18 Feb 2009 07:52:17 +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 */