view fmt-conversion.h @ 29577:0ce49cb1b85b

Change real_setup_and_get_header to use goto a single exit path to simplify proper freeing of allocated data.
author reimar
date Wed, 02 Sep 2009 10:10:42 +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 */