lavc/truemotion2rt: mark AVPacket* as const

This commit is contained in:
Clément Bœsch 2016-07-14 19:29:43 +02:00
parent 93c13886a2
commit bec7145252

View 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;