mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/libx264: mark unchanged pointer arguments as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3edb9aaea6
commit
4d9a46fe31
@ -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,
|
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;
|
X264Context *x4 = ctx->priv_data;
|
||||||
uint8_t *p;
|
uint8_t *p;
|
||||||
|
Loading…
Reference in New Issue
Block a user