aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-10 03:48:47 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-13 02:20:06 +0100
commited1b76cdb79cf0f6023010a151712350b8b81f37 (patch)
tree0b78d9e80be14a6f371e0626414bbc2e34880fd5 /libavcodec/allcodecs.c
parentbfbceb7d554fa428aac6ba0de6b379767aabd005 (diff)
downloadffmpeg-ed1b76cdb79cf0f6023010a151712350b8b81f37.tar.gz
avcodec/allcodecs: Don't wrap supported_framerates
Only two encoders (the native MPEG-1/2 ones) provide supported_framerates and they don't implement the get_supported_config callback. It is highly unlikely that any codec will set supported_framerates dynamically at all, so remove the code querying for frame rates. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 34a94ae93d..9820455b38 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -941,10 +941,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
AV_CODEC_CONFIG_PIX_FORMAT, 0,
(const void **) &codec->p.pix_fmts,
&dummy);
- codec->get_supported_config(NULL, &codec->p,
- AV_CODEC_CONFIG_FRAME_RATE, 0,
- (const void **) &codec->p.supported_framerates,
- &dummy);
break;
case AVMEDIA_TYPE_AUDIO:
codec->get_supported_config(NULL, &codec->p,