ffmpeg/tests/ref
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
..
acodec avcodec/adpcm: improve decooding output for 4-bit ADPCM IMA WAV 2025-09-22 23:46:29 +00:00
fate libavutil/stereo3d: fix prefix matching in *_from_name() functions 2026-03-25 01:32:20 +00:00
lavf avformat/matroskadec: take into account priming samples in audio tracks 2026-02-05 23:21:49 -03:00
lavf-fate avformat/nal: remove trailing zeroes from NALUs 2026-03-15 19:20:06 -03:00
pixfmt swscale/range_convert: fix truncation bias in range conversion 2025-11-06 20:36:08 +00:00
seek tests/fate/vcodec: Test intra_dc_precision 2026-03-07 20:14:36 +01:00
vsynth tests/fate/vcodec: Test intra_dc_precision 2026-03-07 20:14:36 +01:00