diff options
author | Martin Storsjö <martin@martin.st> | 2011-06-24 02:04:54 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-10-17 19:57:45 +0300 |
commit | 17fff881e796980e2b9817f195e80fe2f2fd197a (patch) | |
tree | 4820b4a555aa242140b9ea288e557bfe41980676 /libavformat/rtspenc.c | |
parent | b157be1f383e55f86324dae11e90a7b59173eec1 (diff) | |
download | ffmpeg-17fff881e796980e2b9817f195e80fe2f2fd197a.tar.gz |
rtsp: Merge the AVOption lists
This eases adding options that are common for both. The
AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong
to the muxer or demuxer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtspenc.c')
-rw-r--r-- | libavformat/rtspenc.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c index faf76c0e19..e4e79cad03 100644 --- a/libavformat/rtspenc.c +++ b/libavformat/rtspenc.c @@ -33,20 +33,13 @@ #include "libavutil/intreadwrite.h" #include "libavutil/avstring.h" #include "url.h" -#include "libavutil/opt.h" -#include "rtpenc.h" #define SDP_MAX_SIZE 16384 -static const AVOption options[] = { - FF_RTP_FLAG_OPTS(RTSPState, rtp_muxer_flags), - { NULL }, -}; - static const AVClass rtsp_muxer_class = { .class_name = "RTSP muxer", .item_name = av_default_item_name, - .option = options, + .option = ff_rtsp_options, .version = LIBAVUTIL_VERSION_INT, }; |