[FFmpeg-devel] [PATCH 2/5] Introduce ff_http_averror()
Michael Niedermayer
michaelni at gmx.at
Mon Oct 20 04:28:34 CEST 2014
On Sat, Oct 18, 2014 at 12:24:00AM +0400, Andrey Utkin wrote:
> 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.
> ---
> libavformat/http.c | 17 +++++++++++++++++
> libavformat/http.h | 2 ++
> 2 files changed, 19 insertions(+)
applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141020/287ba0f0/attachment.asc>
More information about the ffmpeg-devel
mailing list