Mercurial > mplayer.hg
diff fmt-conversion.h @ 32905:fd60388d370a
Add conversion functions to and from AVSampleFormat.
author | reimar |
---|---|
date | Tue, 01 Mar 2011 21:44:15 +0000 |
parents | c1a3f1bbba26 |
children | 4ba6b8d3197e |
line wrap: on
line diff
--- a/fmt-conversion.h Tue Mar 01 11:02:48 2011 +0000 +++ b/fmt-conversion.h Tue Mar 01 21:44:15 2011 +0000 @@ -21,8 +21,11 @@ #include "config.h" #include "libavutil/avutil.h" +#include "libavutil/samplefmt.h" enum PixelFormat imgfmt2pixfmt(int fmt); int pixfmt2imgfmt(enum PixelFormat pix_fmt); +enum AVSampleFormat affmt2samplefmt(int fmt); +int samplefmt2affmt(enum AVSampleFormat sample_fmt); #endif /* MPLAYER_FMT_CONVERSION_H */