提交 28e9c42a 编写于 作者: M Martin Storsjö 提交者: Ronald S. Bultje

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: NRonald S. Bultje <rsbultje@gmail.com>
上级 1b7ecc16
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册