Mercurial > mxe-octave
annotate src/smpeg-test.c @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | dfc67c276c6b |
children | 8a6c466753e2 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1311
diff
changeset
|
1 /* This file is part of MXE. */ |
1311
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 } |