[FFmpeg-devel] [PATCH 7/7] avcodec/xfacedec: Add AV_CODEC_CAP_DR1
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sun Apr 24 07:42:58 EEST 2022
This decoder uses ff_get_buffer() and does nothing weird
(it does not even rely on any alignment of the frame's data/linesize).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/xfacedec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/xfacedec.c b/libavcodec/xfacedec.c
index b103b5beda..f15bc2d773 100644
--- a/libavcodec/xfacedec.c
+++ b/libavcodec/xfacedec.c
@@ -180,6 +180,7 @@ const FFCodec ff_xface_decoder = {
.p.long_name = NULL_IF_CONFIG_SMALL("X-face image"),
.p.type = AVMEDIA_TYPE_VIDEO,
.p.id = AV_CODEC_ID_XFACE,
+ .p.capabilities = AV_CODEC_CAP_DR1,
.priv_data_size = sizeof(XFaceContext),
.init = xface_decode_init,
FF_CODEC_DECODE_CB(xface_decode_frame),
--
2.32.0
More information about the ffmpeg-devel
mailing list