mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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:
@ -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,
|
||||
|
Reference in New Issue
Block a user