aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Bradshaw <mjbshaw@gmail.com>2013-09-09 22:32:03 -0600
committerMichael Niedermayer <michaelni@gmx.at>2013-09-10 12:46:56 +0200
commit9b07d34efb122377a0c8735b4008d7fcdf3d1298 (patch)
tree2a4e265a718ff9ac694e1bff49cb3cc96a6e3761 /libavcodec/avcodec.h
parent5cfa51929fbeeb19f90a7a41a8e8581feba09e51 (diff)
downloadffmpeg-9b07d34efb122377a0c8735b4008d7fcdf3d1298.tar.gz
Make avcodec_find_best_pix_fmt_of_list const-correct
Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 572c5fd97e..66d7a8bab3 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4568,7 +4568,7 @@ int avcodec_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat
* @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.
*/
-enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(enum AVPixelFormat *pix_fmt_list,
+enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *pix_fmt_list,
enum AVPixelFormat src_pix_fmt,
int has_alpha, int *loss_ptr);