diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-29 03:08:54 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-02 23:53:30 +0100 |
commit | 455d3a768477bf1578ae85d8e6322bec898590f5 (patch) | |
tree | 91b839e33305a597a32ceb366aab724eac0c0824 /libavcodec/h264_levels.c | |
parent | ba874ad904042d0f90e392f45560b170e05512a6 (diff) | |
download | ffmpeg-455d3a768477bf1578ae85d8e6322bec898590f5.tar.gz |
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/h264_levels.c')
-rw-r--r-- | libavcodec/h264_levels.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/h264_levels.c b/libavcodec/h264_levels.c index dd517f1005..801b27fdd9 100644 --- a/libavcodec/h264_levels.c +++ b/libavcodec/h264_levels.c @@ -75,18 +75,6 @@ static int h264_get_br_factor(int profile_idc) return 1200; } -const H264LevelDescriptor *ff_h264_get_level(int level_idc, - int constraint_set3_flag) -{ - int i; - for (i = 0; i < FF_ARRAY_ELEMS(h264_levels); i++) { - if (h264_levels[i].level_idc == level_idc && - h264_levels[i].constraint_set3_flag == constraint_set3_flag) - return &h264_levels[i]; - } - return NULL; -} - const H264LevelDescriptor *ff_h264_guess_level(int profile_idc, int64_t bitrate, int framerate, |