[FFmpeg-devel] [PATCH 4/7] avcodec/mjpegdec: remove FF_CODEC_CAP_SETS_PKT_DTS flag

James Almer jamrial at gmail.com
Sun Jul 9 22:21:07 EEST 2023


It has no effect on receive_frame() decoders.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/mjpegdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index ab7fa73819..b42e75bcdd 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -3110,6 +3110,6 @@ const FFCodec ff_smvjpeg_decoder = {
     .flush          = decode_flush,
     .p.capabilities = AV_CODEC_CAP_DR1,
     .caps_internal  = FF_CODEC_CAP_EXPORTS_CROPPING |
-                      FF_CODEC_CAP_SETS_PKT_DTS | FF_CODEC_CAP_INIT_CLEANUP,
+                      FF_CODEC_CAP_INIT_CLEANUP,
 };
 #endif
-- 
2.41.0



More information about the ffmpeg-devel mailing list