Change #257139
| Category | ffmpeg |
| Changed by | Niklas Haas <git@haasn.dev> |
| Changed at | Sat 07 Feb 2026 11:02:36 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 6336fa33358cd860f74c8be4772bbc303311b71e |
Comments
avformat/http: return EIO if s->hd is NULL This could conceivably happen currently if the user tries reading more bytes after the last chunk has already been received. In this case, we currently segfault - but simply returning AVERROR(EIO) seems more reasonable and lets the higher end retry the connection in this case.
Changed files
- libavformat/http.c