summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-02-23 11:38:24 +0200
committerMartin Storsjö <martin@martin.st>2012-02-23 15:27:42 +0200
commitc2ff63e3ac82d5ee501e480d4714e982fc45cf8b (patch)
tree352ec96b66346f7a1595d50b9eaff1a35a3921b3 /libavformat/rtpenc.h
parent3c0ed7d1a8ccb170c1ce5acacfe5e9c26135541e (diff)
downloadffmpeg-c2ff63e3ac82d5ee501e480d4714e982fc45cf8b.tar.gz
rtpenc: Move the trailing comma into FF_RTP_FLAG_OPTS
This simplifies adding more flags to the macro. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc.h')
-rw-r--r--libavformat/rtpenc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.h b/libavformat/rtpenc.h
index 72d7f65783..fdad24947b 100644
--- a/libavformat/rtpenc.h
+++ b/libavformat/rtpenc.h
@@ -67,7 +67,7 @@ typedef struct RTPMuxContext RTPMuxContext;
#define FF_RTP_FLAG_OPTS(ctx, fieldname) \
{ "rtpflags", "RTP muxer flags", offsetof(ctx, fieldname), AV_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, AV_OPT_TYPE_CONST, {.dbl = FF_RTP_FLAG_MP4A_LATM}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "rtpflags" } \
+ { "latm", "Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC", 0, AV_OPT_TYPE_CONST, {.dbl = FF_RTP_FLAG_MP4A_LATM}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, "rtpflags" }, \
void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m);