Change #259834
| Category | ffmpeg |
| Changed by | Niklas Haas <git@haasn.dev> |
| Changed at | Wed 04 Mar 2026 09:49:53 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 613925a96e3b05f9f9f39a69bd6238ec6906eb72 |
Comments
avformat/http: fix Cache-Control header parsing This was calling atoi() on `p + offset`, which is nonsense (p may point to the start of the cache-control string, which does not necessarilly coincide with the location of the max-age value). Based on the code, the intent was clearly to parse the value *after* the matched substring.
Changed files
- libavformat/http.c