diff options
author | Martin Storsjö <martin@martin.st> | 2013-10-30 21:11:29 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-11-01 11:56:28 +0400 |
commit | b264453de93999ea6f23e98014390af468f56146 (patch) | |
tree | 8a6c221f8f5e65d5717d403ae4e8bdb7f09d697f | |
parent | d07b51bf0733fe58bbfa13c448775dc325463cb4 (diff) |
rtpenc: Remove some superfluous parentheses
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/rtpenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index d33060770e..b1104d5abd 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -269,7 +269,7 @@ static void rtcp_send_sr(AVFormatContext *s1, int64_t ntp_time) s->last_rtcp_ntp_time = ntp_time; rtp_ts = av_rescale_q(ntp_time - s->first_rtcp_ntp_time, (AVRational){1, 1000000}, s1->streams[0]->time_base) + s->base_timestamp; - avio_w8(s1->pb, (RTP_VERSION << 6)); + avio_w8(s1->pb, RTP_VERSION << 6); avio_w8(s1->pb, RTCP_SR); avio_wb16(s1->pb, 6); /* length in words - 1 */ avio_wb32(s1->pb, s->ssrc); @@ -305,7 +305,7 @@ void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m) av_dlog(s1, "rtp_send_data size=%d\n", len); /* build the RTP header */ - avio_w8(s1->pb, (RTP_VERSION << 6)); + avio_w8(s1->pb, RTP_VERSION << 6); avio_w8(s1->pb, (s->payload_type & 0x7f) | ((m & 0x01) << 7)); avio_wb16(s1->pb, s->seq); avio_wb32(s1->pb, s->timestamp); |