[FFmpeg-devel] [PATCH 0/5] Add HTTP/RTSP specific AVERROR codes

Andrey Utkin andrey.utkin at corp.bluecherry.net
Fri Oct 17 22:23:58 CEST 2014


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(-)

-- 
1.8.5.5



More information about the ffmpeg-devel mailing list