diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-26 01:36:00 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-26 01:36:00 +0100 |
commit | 2ad1eb190781ba438a0941f420cf7d340d917845 (patch) | |
tree | 38842f5762bfa8b8b96b70443d7b896274e89816 | |
parent | 2eab1a178ca4dad167b74e75c51adfbdeac358ca (diff) | |
download | ffmpeg-2ad1eb190781ba438a0941f420cf7d340d917845.tar.gz |
imgconvert: fix 2 "discards const qualifier from pointer target type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/imgconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 66ce9cd0d9..09d24899f1 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -69,7 +69,7 @@ void avcodec_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift = desc->log2_chroma_h; } -static int get_color_type(AVPixFmtDescriptor *desc) { +static int get_color_type(const AVPixFmtDescriptor *desc) { if(desc->nb_components == 1 || desc->nb_components == 2) return FF_COLOR_GRAY; |