mirror of https://github.com/FFmpeg/FFmpeg.git
int ff_http_averror(int status_code, int default_averror) This helper function returns AVERROR_ value from 3-digit HTTP status code. Second argument, default_averror, is used if no specific AVERROR_ is available. It is introduced because in different places of code different return codes are used - -1, AVERROR(EIO), AVERROR_INVALIDDATA. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/89/head
parent
d4e62ebae7
commit
9d86ce783b
2 changed files with 19 additions and 0 deletions
Loading…
Reference in new issue