summaryrefslogtreecommitdiff
path: root/libavcodec/pcx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pcx.c')
-rw-r--r--libavcodec/pcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c
index 2831f1bc3b..b21bdce5ce 100644
--- a/libavcodec/pcx.c
+++ b/libavcodec/pcx.c
@@ -254,6 +254,6 @@ const FFCodec ff_pcx_decoder = {
.p.long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_PCX,
- .decode = pcx_decode_frame,
+ FF_CODEC_DECODE_CB(pcx_decode_frame),
.p.capabilities = AV_CODEC_CAP_DR1,
};