summaryrefslogtreecommitdiff
path: root/libavcodec/tiertexseqv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/tiertexseqv.c')
-rw-r--r--libavcodec/tiertexseqv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/tiertexseqv.c b/libavcodec/tiertexseqv.c
index fdf635864e..0970370713 100644
--- a/libavcodec/tiertexseqv.c
+++ b/libavcodec/tiertexseqv.c
@@ -187,8 +187,10 @@ static av_cold int seqvideo_decode_init(AVCodecContext *avctx)
static int seqvideo_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- const uint8_t *buf, int buf_size)
+ AVPacket *avpkt)
{
+ const uint8_t *buf = avpkt->data;
+ int buf_size = avpkt->size;
SeqVideoContext *seq = avctx->priv_data;