summaryrefslogtreecommitdiff
path: root/libavcodec/y41penc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/y41penc.c')
-rw-r--r--libavcodec/y41penc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c
index 77864909a1..f7ac58c30e 100644
--- a/libavcodec/y41penc.c
+++ b/libavcodec/y41penc.c
@@ -42,7 +42,7 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *pic, int *got_packet)
{
uint8_t *dst;
- uint8_t *y, *u, *v;
+ const uint8_t *y, *u, *v;
int i, j, ret;
ret = ff_get_encode_buffer(avctx, pkt, avctx->width * avctx->height * 1.5, 0);