aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-27 22:38:36 +0300
committerMartin Storsjö <martin@martin.st>2011-06-10 10:50:08 +0300
commit635fac9af10092b0d5780a7d1b422b3044f9abd9 (patch)
treeb295524145c8aba642aecef7b4fec28e712a262e /libavformat/rtpenc.c
parent9c434ce8263097bd17e6a59461041f846edc2701 (diff)
downloadffmpeg-635fac9af10092b0d5780a7d1b422b3044f9abd9.tar.gz
rtpenc: Declare the rtp flags private AVOptions in rtpenc.h
This allows other muxers that chain a RTP muxer to declare the same options easily. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r--libavformat/rtpenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index c264b30a07..3da6dfb3a9 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -30,8 +30,7 @@
//#define DEBUG
static const AVOption options[] = {
- { "rtpflags", "RTP muxer flags", offsetof(RTPMuxContext, flags), FF_OPT_TYPE_FLAGS, {.dbl = 0}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "rtpflags" },
- { "latm", "Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC", 0, FF_OPT_TYPE_CONST, {.dbl = FF_RTP_FLAG_MP4A_LATM}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "rtpflags" },
+ FF_RTP_FLAG_OPTS(RTPMuxContext, flags),
{ NULL },
};