Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #275169

Category ffmpeg
Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
Changed at Sun 19 Jul 2026 12:20:04
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision ccaeb89a643a98717951bbe562fce0f4582b3182

Comments

avformat/shared: use strong CAS for marking PENDING
This was using a weak atomic under the assumption that the `goto retry`
will immediately jump back to the same line. However, that's no longer
true after the introduction of the `read_block` label, which we can
jump to from the error handling fallback path.

In this case, we really ought to use a strong CAS to ensure that we
only re-check the state if it truly changed in the meantime.

Sponsored-by: nxtedition AB
Signed-off-by: Niklas Haas <git@haasn.dev>

Changed files