diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-22 01:33:22 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-22 01:33:22 +0200 |
commit | 724cf83f100065ddabf827f55bf7ae9785875b4c (patch) | |
tree | 1ab91c813a08d35c94d1214aa431070481bf1476 /libavformat/sdp.c | |
parent | c34c0e3a649eb4fe8e6fb756b7784b7bfd9bd638 (diff) | |
download | ffmpeg-724cf83f100065ddabf827f55bf7ae9785875b4c.tar.gz |
Remove some unneeded casts of bit_rate.
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 4e37f65b09..66e9dffbf0 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -748,7 +748,7 @@ void ff_sdp_write_media(char *buff, int size, AVStream *st, int idx, av_strlcatf(buff, size, "m=%s %d RTP/AVP %d\r\n", type, port, payload_type); sdp_write_address(buff, size, dest_addr, dest_type, ttl); if (p->bit_rate) { - av_strlcatf(buff, size, "b=AS:%"PRId64"\r\n", (int64_t)p->bit_rate / 1000); + av_strlcatf(buff, size, "b=AS:%"PRId64"\r\n", p->bit_rate / 1000); } sdp_write_media_attributes(buff, size, st, payload_type, fmt); |