view fmt-conversion.h @ 28939:cbf56e4c9662

Check mpi type before returning an DR buffer in get_image, fixes jerkiness with MPEG1/2 and -dr -slices
author reimar
date Mon, 16 Mar 2009 14:25:03 +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 */