diff options
Diffstat (limited to 'libavcodec/txd.c')
-rw-r--r-- | libavcodec/txd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/txd.c b/libavcodec/txd.c index 44bbad4cab..d2c743feed 100644 --- a/libavcodec/txd.c +++ b/libavcodec/txd.c @@ -39,7 +39,9 @@ static av_cold int txd_init(AVCodecContext *avctx) { } static int txd_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; TXDContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture; |