diff rtsp.h @ 1870:22f6839eb478 libavformat

Convert macro+enum into a simple enum: Currently the enum was filled using a macro that also contained a description for every field, but, that description was not being used anywhere. This changes it, to make the description available as a Doxygen comment. Furthermore, it is now easily parsable by Doxygen, while before it messed up the documentation.
author takis
date Mon, 05 Mar 2007 13:52:14 +0000
parents 0899bfe4105c
children 50ad5902d797
line wrap: on
line diff
--- a/rtsp.h	Mon Mar 05 13:43:16 2007 +0000
+++ b/rtsp.h	Mon Mar 05 13:52:14 2007 +0000
@@ -21,12 +21,7 @@
 #ifndef RTSP_H
 #define RTSP_H
 
-/* RTSP handling */
-enum RTSPStatusCode {
-#define DEF(n, c, s) c = n,
 #include "rtspcodes.h"
-#undef DEF
-};
 
 enum RTSPProtocol {
     RTSP_PROTOCOL_RTP_UDP = 0,