diff rtsp.h @ 6348:c709176da1ad libavformat

Preserve status reason It is used to provide meaningful error messages.
author lu_zero
date Fri, 06 Aug 2010 10:26:30 +0000
parents 736165b749f8
children b7ee8424b7e6
line wrap: on
line diff
--- a/rtsp.h	Thu Aug 05 04:42:36 2010 +0000
+++ b/rtsp.h	Fri Aug 06 10:26:30 2010 +0000
@@ -159,6 +159,11 @@
      * 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;
 
 /**