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
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel