[FFmpeg-trac] #11319(avformat:new): http download without Content-Length warns about ending prematurely
FFmpeg
trac at avcodec.org
Fri Nov 22 20:47:13 EET 2024
#11319: http download without Content-Length warns about ending prematurely
----------------------------------------+----------------------------------
Reporter: David Johansen | Type: defect
Status: new | Priority: minor
Component: avformat | Version: 7.1
Keywords: http | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------------+----------------------------------
Summary of the bug:
If the server doesn't provide a `Content-Length` header, then the handling
by `libavformat/http.c` warns about it ending prematurely when it's
actually fine.
How to reproduce:
`filesize` is `-1` so and `end_off` hasn't been set by a byte range, so
the connection ending is incorrectly viewed as ending prematurely, when
there's actually no expectation of when it should end.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11319>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list