Mercurial > libavcodec.hg
diff avcodec.h @ 7832:573f52f011c0 libavcodec
avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
author | michael |
---|---|
date | Mon, 08 Sep 2008 18:29:08 +0000 |
parents | 8195c970d077 |
children | 52d04dea9491 |
line wrap: on
line diff
--- a/avcodec.h Mon Sep 08 18:18:49 2008 +0000 +++ b/avcodec.h Mon Sep 08 18:29:08 2008 +0000 @@ -2444,7 +2444,7 @@ * @param[out] loss_ptr Combination of flags informing you what kind of losses will occur. * @return The best pixel format to convert to or -1 if none was found. */ -int avcodec_find_best_pix_fmt(int pix_fmt_mask, int src_pix_fmt, +int avcodec_find_best_pix_fmt(int64_t pix_fmt_mask, int src_pix_fmt, int has_alpha, int *loss_ptr);