diff options
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r-- | libavcodec/ptx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index 2ab45b08a7..67799fac9e 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -36,7 +36,9 @@ static av_cold int ptx_init(AVCodecContext *avctx) { } static int ptx_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; PTXContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture; |