On Sat, 18 Oct 2014 00:23:58 +0400 Andrey Utkin <andrey.ut...@corp.bluecherry.net> wrote:
> Any comments and testing are appreciated. I have made a little amount of > testing, but RTSP, HTTP and HTTPS 401 and 404 work as expected. > > Andrey Utkin (5): > Introduce new error codes for 4XX and 5XX replies from remote servers > Introduce ff_http_averror() > Use ff_http_averror() > Introduce ff_rtsp_averror() > Use ff_rtsp_averror() > > libavformat/http.c | 23 ++++++++++++++++++++--- > libavformat/http.h | 2 ++ > libavformat/rtsp.c | 4 ++-- > libavformat/rtspcodes.h | 7 +++++++ > libavformat/rtspdec.c | 27 ++++++++++++++------------- > libavformat/rtspenc.c | 4 ++-- > libavutil/error.c | 6 ++++++ > libavutil/error.h | 7 +++++++ > 8 files changed, 60 insertions(+), 20 deletions(-) > Why not just store the error code as separate field? _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel