mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/truemotion2rt: mark AVPacket* as const
This commit is contained in:
parent
93c13886a2
commit
bec7145252
|
@ -56,7 +56,7 @@ static const int16_t *const delta_tabs[] = {
|
||||||
|
|
||||||
/* Returns the number of bytes consumed from the bytestream, or
|
/* Returns the number of bytes consumed from the bytestream, or
|
||||||
* AVERROR_INVALIDDATA if there was an error while decoding the header. */
|
* 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;
|
TrueMotion2RTContext *s = avctx->priv_data;
|
||||||
int header_size;
|
int header_size;
|
||||||
|
|
Loading…
Reference in New Issue