diff options
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r-- | libavcodec/qpeg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index 14d9ea945e..658cb028ea 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -353,17 +353,17 @@ static av_cold int decode_init(AVCodecContext *avctx){ return 0; } -const AVCodec ff_qpeg_decoder = { - .name = "qpeg", - .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"), - .type = AVMEDIA_TYPE_VIDEO, - .id = AV_CODEC_ID_QPEG, +const FFCodec ff_qpeg_decoder = { + .p.name = "qpeg", + .p.long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"), + .p.type = AVMEDIA_TYPE_VIDEO, + .p.id = AV_CODEC_ID_QPEG, .priv_data_size = sizeof(QpegContext), .init = decode_init, .close = decode_end, .decode = decode_frame, .flush = decode_flush, - .capabilities = AV_CODEC_CAP_DR1, + .p.capabilities = AV_CODEC_CAP_DR1, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, }; |