summaryrefslogtreecommitdiff
path: root/libavcodec/h265_profile_level.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-29 03:08:54 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-02 23:53:30 +0100
commit455d3a768477bf1578ae85d8e6322bec898590f5 (patch)
tree91b839e33305a597a32ceb366aab724eac0c0824 /libavcodec/h265_profile_level.c
parentba874ad904042d0f90e392f45560b170e05512a6 (diff)
avcodec/h264_levels, h265_profile_level: Remove ff_h26[45]_get_level
Unused. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h265_profile_level.c')
-rw-r--r--libavcodec/h265_profile_level.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/h265_profile_level.c b/libavcodec/h265_profile_level.c
index d79c1ab204..7ff9681f65 100644
--- a/libavcodec/h265_profile_level.c
+++ b/libavcodec/h265_profile_level.c
@@ -120,18 +120,6 @@ static const H265ProfileDescriptor h265_profiles[] = {
};
-const H265LevelDescriptor *ff_h265_get_level(int level_idc)
-{
- int i;
-
- for (i = 0; i < FF_ARRAY_ELEMS(h265_levels); i++) {
- if (h265_levels[i].level_idc == level_idc)
- return &h265_levels[i];
- }
-
- return NULL;
-}
-
const H265ProfileDescriptor *ff_h265_get_profile(const H265RawProfileTierLevel *ptl)
{
int i;