summaryrefslogtreecommitdiff
path: root/libavcodec/truemotion2rt.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-07-14 19:29:43 +0200
committerClément Bœsch <u@pkh.me>2016-07-14 19:29:43 +0200
commitbec7145252165249da9e1d447197cca120856057 (patch)
tree3fd07c565a2bfa47d2b487ad6a9d7c6b273f5ab2 /libavcodec/truemotion2rt.c
parent93c13886a2d679a88bdecfd9ca39c0120f71fcb9 (diff)
downloadffmpeg-bec7145252165249da9e1d447197cca120856057.tar.gz
lavc/truemotion2rt: mark AVPacket* as const
Diffstat (limited to 'libavcodec/truemotion2rt.c')
-rw-r--r--libavcodec/truemotion2rt.c2
1 files changed, 1 insertions, 1 deletions
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;