On Sun, 17 Dec 2023, James Almer wrote:

On 12/17/2023 9:36 AM, Martin Storsjö wrote:
The names of the cpu flags, when parsed from a string with
av_parse_cpu_caps, are parsed by the libavutil eval functions. These
interpret dashes as subtractions. Therefore, these previous cpu flag
names haven't been possible to set.

Use the official names for these extensions, as the previous ad-hoc
names wasn't parseable.

libavutil/tests/cpu tests that the cpu flags can be set, and prints
the detected flags.
---
v3: Fixed the name zve64d. Kept the cpuflags names all lowercase for
consistency with the other cpuflags.
---
  libavutil/cpu.c       | 12 ++++++------
  libavutil/tests/cpu.c | 10 ++++++++++
  2 files changed, 16 insertions(+), 6 deletions(-)

LGMT with a minor bump, as this changes how av_parse_cpu_caps() parses strings.

Thanks, pushed with a minor bump.

// Martin
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to