[FFmpeg-cvslog] parseutils: add av_parse_time() test.
Michael Niedermayer
michaelni at gmx.at
Fri Apr 27 12:31:55 CEST 2012
On Mon, Apr 23, 2012 at 02:51:34PM +0200, Nicolas George wrote:
> ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Mon Apr 16 15:58:21 2012 +0200| [9b84f8a987e7cd3bb966d065d50d79d453907bad] | committer: Nicolas George
>
> parseutils: add av_parse_time() test.
[...]
> @@ -776,6 +779,52 @@ int main(void)
> }
> }
>
> + printf("\nTesting av_parse_time()\n");
> + {
> + int i;
> + int64_t tv;
> + time_t tvi;
> + struct tm *tm;
> + const char *time_string[] = {
> + "now",
> + "12:35:46",
> + "2000-12-20 0:02:47.5z",
> + "2000-12-20T010247.6",
> + };
> + const char *duration_string[] = {
> + "2:34:56.79",
> + "-1:23:45.67",
> + "42.1729",
> + "-1729.42",
> + "12:34",
> + };
> +
> + av_log_set_level(AV_LOG_DEBUG);
> + setenv("TZ", "CET-1", 1);
this seems failing on mingw / wine
home/fate/fate/src/libavutil/parseutils.c:803:9: error: implicit declaration of function 'setenv' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20120427/e70f9167/attachment.asc>
More information about the ffmpeg-cvslog
mailing list