diff options
author | Martin Storsjö <martin@martin.st> | 2020-11-13 00:06:30 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-11-20 10:37:24 +0200 |
commit | 104e5233f03f1ed3aa34b256cd2b9023a9076ffb (patch) | |
tree | ec726fae68d38278dbed1867fc47ab4c223d9102 /libavcodec/cbs_vp9_syntax_template.c | |
parent | bf19833ae26b054a111de79b5ab1681c00cd8d0a (diff) | |
download | ffmpeg-104e5233f03f1ed3aa34b256cd2b9023a9076ffb.tar.gz |
http: Check for AVERROR_EOF in the check for premature end
When the check was added (in 3668701f9600, in 2015), some IO
functions returned 0 on EOF (in particular, the TCP protocol
did, but the TLS protocol returned AVERROR_EOF). Since
0e1f771d2200d in 2017, the TCP protocol also returns AVERROR_EOF
instead of 0, making the check for premature end never have the
intended effect.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/cbs_vp9_syntax_template.c')
0 files changed, 0 insertions, 0 deletions