From 4d9a46fe31e0dbeb4791fd2de896ce0cce5c3c1b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 28 Sep 2014 03:40:13 +0200 Subject: [PATCH] avcodec/libx264: mark unchanged pointer arguments as const Signed-off-by: Michael Niedermayer --- libavcodec/libx264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 8830f592cc..add3d987df 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -100,7 +100,7 @@ static void X264_log(void *p, int level, const char *fmt, va_list args) static int encode_nals(AVCodecContext *ctx, AVPacket *pkt, - x264_nal_t *nals, int nnal) + const x264_nal_t *nals, int nnal) { X264Context *x4 = ctx->priv_data; uint8_t *p;