From bbeee3339fec92a343f17ef05a7e347fe35c1dbc Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 27 Feb 2024 18:59:31 +0100 Subject: [PATCH] avcodec/libxevd: Remove FF_CODEC_CAP_SETS_PKT_DTS cap This decoder implements the receive_frame API; such decoders always have to set the pkt_dts field themselves and the avcodec test checks for this. Signed-off-by: Andreas Rheinhardt --- libavcodec/libxevd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index 58ef90d929..d00c9df091 100644 --- a/libavcodec/libxevd.c +++ b/libavcodec/libxevd.c @@ -534,5 +534,6 @@ const FFCodec ff_libxevd_decoder = { .p.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS | AV_CODEC_CAP_AVOID_PROBING, .p.profiles = NULL_IF_CONFIG_SMALL(ff_evc_profiles), .p.wrapper_name = "libxevd", - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_NOT_INIT_THREADSAFE | FF_CODEC_CAP_SETS_PKT_DTS | FF_CODEC_CAP_SETS_FRAME_PROPS + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_NOT_INIT_THREADSAFE | + FF_CODEC_CAP_SETS_FRAME_PROPS, };