diff options
author | Andrey Utkin <andrey.utkin@corp.bluecherry.net> | 2014-10-18 00:23:59 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-19 22:32:14 +0200 |
commit | 65639e6bef8046b0ee157a11511ac6f9e8114776 (patch) | |
tree | 0646c962f4cab6039618978e69e1f4c523991adf /libavutil/error.h | |
parent | f63d381387165eddff47ea896794837332b5cbd2 (diff) | |
download | ffmpeg-65639e6bef8046b0ee157a11511ac6f9e8114776.tar.gz |
avutil/error: Introduce new error codes for 4XX and 5XX replies from remote servers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/error.h')
-rw-r--r-- | libavutil/error.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/error.h b/libavutil/error.h index 621279abde..71df4da353 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -72,6 +72,13 @@ #define AVERROR_EXPERIMENTAL (-0x2bb2afa8) ///< Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it. #define AVERROR_INPUT_CHANGED (-0x636e6701) ///< Input changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_OUTPUT_CHANGED) #define AVERROR_OUTPUT_CHANGED (-0x636e6702) ///< Output changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_INPUT_CHANGED) +/* HTTP & RTSP errors */ +#define AVERROR_HTTP_BAD_REQUEST FFERRTAG(0xF8,'4','0','0') +#define AVERROR_HTTP_UNAUTHORIZED FFERRTAG(0xF8,'4','0','1') +#define AVERROR_HTTP_FORBIDDEN FFERRTAG(0xF8,'4','0','3') +#define AVERROR_HTTP_NOT_FOUND FFERRTAG(0xF8,'4','0','4') +#define AVERROR_HTTP_OTHER_4XX FFERRTAG(0xF8,'4','X','X') +#define AVERROR_HTTP_SERVER_ERROR FFERRTAG(0xF8,'5','X','X') #define AV_ERROR_MAX_STRING_SIZE 64 |