diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-08 18:29:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-08 18:29:08 +0000 |
commit | 9d21494776dc5cb4fedd3cce71d2d4de2593b09e (patch) | |
tree | 8356ddb8fd36d6c4cadac2d38af0cbed17d22ec6 /libavcodec/avcodec.h | |
parent | 047599a4ba6352b2b5911c10fbec821ef6612d95 (diff) | |
download | ffmpeg-9d21494776dc5cb4fedd3cce71d2d4de2593b09e.tar.gz |
avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
Originally committed as revision 15271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c7e1b648bf..ec8228fee4 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2444,7 +2444,7 @@ int avcodec_get_pix_fmt_loss(int dst_pix_fmt, int src_pix_fmt, * @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); |