view fmt-conversion.h @ 29511:2c47c6dd92b5

Retry deciding to get audio parameters several times on errors, this avoids failing to init the decoder completely just because the first packet is broken.
author reimar
date Wed, 26 Aug 2009 19:05:36 +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 */