From bec7145252165249da9e1d447197cca120856057 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 14 Jul 2016 19:29:43 +0200 Subject: [PATCH] lavc/truemotion2rt: mark AVPacket* as const --- libavcodec/truemotion2rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/truemotion2rt.c b/libavcodec/truemotion2rt.c index 0d459124a2..94d44800b2 100644 --- a/libavcodec/truemotion2rt.c +++ b/libavcodec/truemotion2rt.c @@ -56,7 +56,7 @@ static const int16_t *const delta_tabs[] = { /* Returns the number of bytes consumed from the bytestream, or * AVERROR_INVALIDDATA if there was an error while decoding the header. */ -static int truemotion2rt_decode_header(AVCodecContext *avctx, AVPacket *avpkt) +static int truemotion2rt_decode_header(AVCodecContext *avctx, const AVPacket *avpkt) { TrueMotion2RTContext *s = avctx->priv_data; int header_size; -- 2.11.0