]> git.sesse.net Git - ffmpeg/commitdiff
lavc/truemotion2rt: mark AVPacket* as const
authorClément Bœsch <u@pkh.me>
Thu, 14 Jul 2016 17:29:43 +0000 (19:29 +0200)
committerClément Bœsch <u@pkh.me>
Thu, 14 Jul 2016 17:29:43 +0000 (19:29 +0200)
libavcodec/truemotion2rt.c

index 0d459124a23862c01cee6ea464436568b4f6aac1..94d44800b232e4b51b091cfb98b3ff224006b972 100644 (file)
@@ -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;