diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-15 18:01:32 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-09-15 18:02:43 +0200 |
commit | 7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (patch) | |
tree | 08d1d4010e20cd696e358bf03f9e2565f3256e0c /libavformat/sdp.c | |
parent | 28e023377cfe42c5406441eeff32842c1bb1f09f (diff) | |
download | ffmpeg-7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d.tar.gz |
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
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 45974b394f..2ab37a8f5e 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -740,7 +740,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 (c->bit_rate) { - av_strlcatf(buff, size, "b=AS:%d\r\n", c->bit_rate / 1000); + av_strlcatf(buff, size, "b=AS:%"PRId64"\r\n", (int64_t)c->bit_rate / 1000); } sdp_write_media_attributes(buff, size, c, payload_type, fmt); |