aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/lavf/ts
diff options
context:
space:
mode:
authorxiongweixiao <xiongweixiaoxxw@gmail.com>2025-05-12 07:36:35 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2025-05-12 11:07:35 +0200
commit8ce32a7cbb17e47e4e7f8a278c5b05cd9e6e967e (patch)
tree3697daf6378ab4edc0638eb8086de35016c4089e /tests/ref/lavf/ts
parent1cda5fe3fdfdda9161da75f5c21fa17060612f1d (diff)
downloadffmpeg-master.tar.gz
lavf: vvc_probe: lower probe score for invalid SPS/PPS/IRAP order to avoid misdetection of mp3 as VVCHEADmaster
The current vvc_probe function checks for SPS, PPS, and IRAP NAL units but does not enforce their detection order. This can lead to false positives when PPS or IRAP appear before SPS, causing malformed or non-compliant bitstreams to be incorrectly identified as valid VVC streams. This commit modifies the logic to use boolean flags and enforces the correct detection sequence: SPS must be detected before PPS, and PPS before IRAP. This ensures more accurate probing and prevents invalid bitstreams from being misidentified. For streams with wrong ordering a lower score is returned This change addresses issues reported in: - https://trac.ffmpeg.org/ticket/11496 - https://trac.ffmpeg.org/ticket/11087 Signed-off-by: xiongweixiao <xiongweixiaoxxw@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/lavf/ts')
0 files changed, 0 insertions, 0 deletions