[FFmpeg-cvslog] avcodec/libx264: mark unchanged pointer arguments as const
Michael Niedermayer
git at videolan.org
Sun Sep 28 04:46:11 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Sep 28 03:40:13 2014 +0200| [4d9a46fe31e0dbeb4791fd2de896ce0cce5c3c1b] | committer: Michael Niedermayer
avcodec/libx264: mark unchanged pointer arguments as const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d9a46fe31e0dbeb4791fd2de896ce0cce5c3c1b
---
libavcodec/libx264.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 8830f59..add3d98 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;
More information about the ffmpeg-cvslog
mailing list