aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-05 20:54:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-05 20:54:50 +0200
commit397ebc1d9b2f1862c61f7f2ceccc6a7e0b73e0bc (patch)
tree5f542ba9e5478e525198c466056bf76a6011bdb9 /libavcodec
parentb3fdfc8c4e4d35430262e9c4dda0be040dec42ee (diff)
downloadffmpeg-397ebc1d9b2f1862c61f7f2ceccc6a7e0b73e0bc.tar.gz
proresenc_anatoliy: add 2 const to silence 2 warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/proresenc_anatoliy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index e61e8d70e4..d77d6eed9c 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -367,7 +367,7 @@ static void subimage_with_fill(uint16_t *src, unsigned x, unsigned y,
}
}
-static int encode_slice(AVCodecContext *avctx, AVFrame *pic, int mb_x,
+static int encode_slice(AVCodecContext *avctx, const AVFrame *pic, int mb_x,
int mb_y, unsigned mb_count, uint8_t *buf, unsigned data_size,
int unsafe, int *qp)
{
@@ -437,7 +437,7 @@ static int encode_slice(AVCodecContext *avctx, AVFrame *pic, int mb_x,
return hdr_size + y_data_size + u_data_size + v_data_size;
}
-static int prores_encode_picture(AVCodecContext *avctx, AVFrame *pic,
+static int prores_encode_picture(AVCodecContext *avctx, const AVFrame *pic,
uint8_t *buf, const int buf_size)
{
int mb_width = (avctx->width + 15) >> 4;