From 62cb9d97c1f9a655d3d144d7cb2b1145f890ef20 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 9 Jul 2023 16:16:49 -0300 Subject: [PATCH] avcodec/av1dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag It has no effect on receive_frame() decoders. Signed-off-by: James Almer --- libavcodec/av1dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index e7f98a6c81..cc178464b9 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -1527,8 +1527,7 @@ const FFCodec ff_av1_decoder = { .close = av1_decode_free, FF_CODEC_RECEIVE_FRAME_CB(av1_receive_frame), .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_AVOID_PROBING, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | - FF_CODEC_CAP_SETS_PKT_DTS, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .flush = av1_decode_flush, .p.profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles), .p.priv_class = &av1_class,