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;