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>
This commit is contained in:
Martin Storsjö 2011-03-23 10:26:22 +02:00 committed by Ronald S. Bultje
parent 1b7ecc1662
commit 28e9c42afb

View File

@ -103,8 +103,7 @@ static int rtsp_write_record(AVFormatContext *s)
char cmd[1024]; char cmd[1024];
snprintf(cmd, sizeof(cmd), snprintf(cmd, sizeof(cmd),
"Range: npt=%0.3f-\r\n", "Range: npt=0.000-\r\n");
(double) 0);
ff_rtsp_send_cmd(s, "RECORD", rt->control_uri, cmd, reply, NULL); ff_rtsp_send_cmd(s, "RECORD", rt->control_uri, cmd, reply, NULL);
if (reply->status_code != RTSP_STATUS_OK) if (reply->status_code != RTSP_STATUS_OK)
return -1; return -1;