avcodec/libx264: mark unchanged pointer arguments as const
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 28 Sep 2014 01:40:13 +0000 (03:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 28 Sep 2014 01:40:13 +0000 (03:40 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libx264.c

index 8830f59..add3d98 100644 (file)
@@ -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;