From c2ff63e3ac82d5ee501e480d4714e982fc45cf8b Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 23 Feb 2012 11:38:24 +0200 Subject: rtpenc: Move the trailing comma into FF_RTP_FLAG_OPTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This simplifies adding more flags to the macro. Signed-off-by: Martin Storsjö --- libavformat/rtpenc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtpenc.h') 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); -- cgit v1.2.3