summaryrefslogtreecommitdiff
path: root/libavcodec/yuv4enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/yuv4enc.c')
-rw-r--r--libavcodec/yuv4enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/yuv4enc.c b/libavcodec/yuv4enc.c
index 8d72382197..94e9b5dc1b 100644
--- a/libavcodec/yuv4enc.c
+++ b/libavcodec/yuv4enc.c
@@ -28,7 +28,7 @@ static int yuv4_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, 6 * (avctx->width + 1 >> 1)