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.

Originally committed as revision 8254 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Panagiotis Issaris
2007-03-05 13:52:14 +00:00
parent d7f654692a
commit 391fbb656c
2 changed files with 16 additions and 16 deletions

View File

@ -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,