On Mon, Apr 22, 2024 at 10:22:06PM +0100, Mark Thompson wrote: > Replace existing get_profile() with find_profile(), which finds the > lowest compatible profile rather than requiring an exact match. > --- > libavcodec/h265_profile_level.c | 73 +++++++++++++++++++++------------ > libavcodec/h265_profile_level.h | 70 ++++++++++++++++++++++++++++++- > libavcodec/vaapi_hevc.c | 2 +- > libavcodec/vdpau_hevc.c | 2 +- > 4 files changed, 117 insertions(+), 30 deletions(-) breaks TEST h265-levels ./tests/fate-run.sh fate-h265-levels "fate/fate-suite/" "" "ffmpeg" 'run libavcodec/tests/h265_levels' '' '/dev/null' '' '1' '' '' '' '' '' '' '' '' '' '' ffmpeg/libavcodec/tests/h265_levels Test h265-levels failed. Look at tests/data/fate/h265-levels.err for details. Assertion profile >= 0 && profile < H265_PROFILE_COUNT failed at libavcodec/h265_profile_level.c:166 Aborted (core dumped) threads=1 make: *** [tests/Makefile:311: fate-h265-levels] Error 134 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf