Change #264731
| Category | ffmpeg |
| Changed by | Niklas Haas <git@haasn.dev> |
| Changed at | Thu 16 Apr 2026 22:59:39 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 86307dad4a29d490aad301742afbb0509097c9b7 |
Comments
swscale/ops_dispatch: make offset calculation code robust against overflow As well as weird edge cases like trying to filter `monow` and pixels landing in the middle of a byte. Realistically, this will never happen - we'd instead pre-process it into something byte-aligned, and then dispatch a byte-aligned filter on it. However, I need to add a check for overflow in any case, so we might as well add the alignment check at the same time. It's basically free. Signed-off-by: Niklas Haas <git@haasn.dev>
Changed files
- libswscale/ops_dispatch.c