diff options
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r-- | libavcodec/tta.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c index 5536aa4cd9..3ab31e6629 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -287,8 +287,10 @@ static av_cold int tta_decode_init(AVCodecContext * avctx) static int tta_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; TTAContext *s = avctx->priv_data; int i; |