[FFmpeg-devel] [PATCH 04/10] fftools/cmdutils: Don't report AV_CODEC_CAP_TRUNCATED after next bump

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Sep 13 16:53:30 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
Could also be removed now.

 fftools/cmdutils.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index ac172dbd65..6a61f7a5e4 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -1399,8 +1399,10 @@ static void print_codec(const AVCodec *c)
         printf("horizband ");
     if (c->capabilities & AV_CODEC_CAP_DR1)
         printf("dr1 ");
+#if LIBAVCODEC_VERSION_MAJOR < 60
     if (c->capabilities & AV_CODEC_CAP_TRUNCATED)
         printf("trunc ");
+#endif
     if (c->capabilities & AV_CODEC_CAP_DELAY)
         printf("delay ");
     if (c->capabilities & AV_CODEC_CAP_SMALL_LAST_FRAME)
-- 
2.30.2



More information about the ffmpeg-devel mailing list