aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-09-15 18:01:32 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-15 18:02:43 +0200
commit7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d (patch)
tree08d1d4010e20cd696e358bf03f9e2565f3256e0c /ffserver.c
parent28e023377cfe42c5406441eeff32842c1bb1f09f (diff)
downloadffmpeg-7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d.tar.gz
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c
index 73ede871ab..f9e40b54fd 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1787,9 +1787,9 @@ static inline void print_stream_params(AVIOContext *pb, FFServerStream *stream)
abort();
}
- avio_printf(pb, "<tr><td align=right>%d<td>%s<td align=right>%d"
+ avio_printf(pb, "<tr><td align=right>%d<td>%s<td align=right>%"PRId64
"<td>%s<td>%s\n",
- i, type, st->codec->bit_rate/1000,
+ i, type, (int64_t)st->codec->bit_rate/1000,
codec ? codec->name : "", parameters);
}