aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtspenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-03-23 10:26:22 +0200
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-23 07:30:16 -0400
commit28e9c42afbf0088aa1f4280a95d304dca4b675a0 (patch)
tree86d9bdd771841d7f2d134019bad9511d47a9fbcc /libavformat/rtspenc.c
parent1b7ecc1662956fc30d20bdcdbc0617127b2976cc (diff)
downloadffmpeg-28e9c42afbf0088aa1f4280a95d304dca4b675a0.tar.gz
rtsp: Don't use a locale dependent format string
In this particular case, we aren't ever printing anything else than 0.000 anyway. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/rtspenc.c')
-rw-r--r--libavformat/rtspenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index c163f4ce68..1f1fd32fc1 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -103,8 +103,7 @@ static int rtsp_write_record(AVFormatContext *s)
char cmd[1024];
snprintf(cmd, sizeof(cmd),
- "Range: npt=%0.3f-\r\n",
- (double) 0);
+ "Range: npt=0.000-\r\n");
ff_rtsp_send_cmd(s, "RECORD", rt->control_uri, cmd, reply, NULL);
if (reply->status_code != RTSP_STATUS_OK)
return -1;