diff options
Diffstat (limited to 'libavcodec/pcx.c')
-rw-r--r-- | libavcodec/pcx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c index bf80e437fe..23a808d633 100644 --- a/libavcodec/pcx.c +++ b/libavcodec/pcx.c @@ -70,7 +70,9 @@ static void pcx_palette(const uint8_t **src, uint32_t *dst, unsigned int pallen) } static int pcx_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; PCXContext * const s = avctx->priv_data; AVFrame *picture = data; AVFrame * const p = &s->picture; |