ffmpeg/tests
marcos ashton 5d70f0844c libavutil/stereo3d: fix prefix matching in *_from_name() functions
The three *_from_name() functions used av_strstart() for prefix matching,
which returns incorrect results when one name is a prefix of another.

av_stereo3d_from_name("side by side (quincunx subsampling)") matched
"side by side" at index 1 and returned AV_STEREO3D_SIDEBYSIDE instead of
AV_STEREO3D_SIDEBYSIDE_QUINCUNX. Similarly,
av_stereo3d_primary_eye_from_name("nonexistent") matched "none" and
returned AV_PRIMARY_EYE_NONE instead of -1.

Switch all three functions from av_strstart() to strcmp() for exact
matching. No in-tree callers rely on prefix matching.

Signed-off-by: marcos ashton <marcosashiglesias@gmail.com>
2026-03-25 01:32:20 +00:00
..
api api-h264-test: indent output 2025-10-25 11:11:41 +02:00
checkasm avcodec/x86/mpeg4videodsp: Add gmc_ssse3 2026-03-19 14:44:37 +01:00
fate tests/fate/ogg-*.mak: Make sure that copy tests do not run when 2026-03-23 10:53:33 -05:00
filtergraphs tests/fate: add fate test for excessive frame buffering when using filters 2025-07-14 22:05:11 +02:00
maps fate: Add fsync filter tests 2024-01-05 09:29:05 +01:00
ref libavutil/stereo3d: fix prefix matching in *_from_name() functions 2026-03-25 01:32:20 +00:00
streamgroups tests/fate/iamf: add tests for Projection mode ambisonic Audio Elements 2025-12-29 12:02:53 -03:00
.gitignore
audiogen.c tests/audiogen: Fix total RIFF chunk size 2024-03-28 11:54:41 +01:00
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat all: fix whitespace/new-line issues 2025-08-03 13:48:47 +02:00
fate-run.sh libavformat/oggenc.c: re-initialize stream on new metadata. 2026-02-18 16:25:06 +00:00
fate-valgrind.supp
fate.sh fate.sh: Allow specifying --ar through a separate variable 2025-12-19 18:41:23 +00:00
Makefile tests/fate/demux: add a raw JPEG-XS demux test 2025-12-16 10:38:56 -03:00
md5.sh
refcmp-metadata.awk fate/filter-refcmp-*: make refcmp_metadata fail on empty or truncated input 2022-04-10 20:12:23 +02:00
reference.pnm
rotozoom.c
simple1.ffconcat all: fix whitespace/new-line issues 2025-08-03 13:48:47 +02:00
simple2.ffconcat all: fix whitespace/new-line issues 2025-08-03 13:48:47 +02:00
test.ffmeta
tiny_psnr.c
tiny_ssim.c test: tiny_ssim: Don't include config.h 2022-03-30 14:56:07 +03:00
utils.c
videogen.c