diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2010-08-06 10:26:30 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2010-08-06 10:26:30 +0000 |
commit | d93fdcbf5c0e70ca03aaad2581fd328f277cd7cb (patch) | |
tree | 6f74c55344208ef09e6e733f1c03ae29299725d3 /libavformat/rtsp.h | |
parent | 06a2ba230bed69db7d30cf00bb73e7da56bd1819 (diff) | |
download | ffmpeg-d93fdcbf5c0e70ca03aaad2581fd328f277cd7cb.tar.gz |
Preserve status reason
It is used to provide meaningful error messages.
Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 2853253e4b..1dba9961c3 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -159,6 +159,11 @@ typedef struct RTSPMessageHeader { * http://tools.ietf.org/html/draft-stiemerling-rtsp-announce-00 * for a complete list of supported values. */ int notice; + + /** The "reason" is meant to specify better the meaning of the error code + * returned + */ + char reason[256]; } RTSPMessageHeader; /** |