annotate src/smpeg-test.c @ 1311:dfc67c276c6b

add test program for package smpeg
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 10 Oct 2010 13:46:35 +0200
parents
children f653602a0500
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1311
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 /* This file is part of mingw-cross-env. */
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 /* See doc/index.html for further information. */
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 #include <smpeg.h>
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 #include <stdio.h>
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 int main(int argc, char *argv[])
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 {
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 SMPEG_version v;
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 (void)argc;
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 (void)argv;
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 SMPEG_VERSION(&v);
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 printf("SMPEG version: %d.%d.%d\n", v.major, v.minor, v.patch);
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 return 0;
dfc67c276c6b add test program for package smpeg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 }