MHEG5
18.9.0
MHEG5 Documentation
Main Page
Related Pages
Classes
Files
File List
File Members
source
asn
src
pa1_main.c
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3
* Copyright © 2004 Ocean Blue Software Ltd
4
* Copyright © 2000 Koninklijke Philips Electronics N.V
5
*
6
* This file is part of a DTVKit Software Component
7
* You are permitted to copy, modify or distribute this file subject to the terms
8
* of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9
*
10
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12
* OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13
*
14
* If you or your organisation is not a member of DTVKit then you have access
15
* to this source code outside of the terms of the licence agreement
16
* and you are expected to delete this and any associated files immediately.
17
* Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18
*******************************************************************************/
26
/*---includes for this file--------------------------------------------------*/
27
#include <stdio.h>
28
#include <stdlib.h>
29
30
#include "
vpa1_rdf.h
"
31
32
#include "
fpa1_rdf.h
"
33
34
#include "
fpa1_BlockAlloc.h
"
35
36
/*---local typedef structs for this file-------------------------------------*/
37
38
/*---constant definitions for this file--------------------------------------*/
39
40
41
/*---local (static) variable declarations for this file----------------------*/
42
43
/*---local function definitions----------------------------------------------*/
44
45
/*---global function definitions---------------------------------------------*/
46
47
void
main
(
int
argc,
char
*argv[] )
48
{
49
pa1_fileName
*filename = (
pa1_fileName
*) argv[1];
50
51
if
(fpa1_SyntaxBlockInit() != 0)
52
{
53
printf(
"BIG ERROR: Failed to start the MiniMM\n"
);
54
exit(1);
55
}
56
57
fpa1_parseScript( filename );
58
59
if
(fpa1_deleteEntireList() != 0)
60
{
61
printf(
"BIG ERROR: Failed to destroy the MiniMM\n"
);
62
exit(1);
63
}
64
}
65
fpa1_rdf.h
Contains functions/globals used to read MHEG-5 ASN.1 scripts.
vpa1_rdf.h
Typedefs for script reading functions.
main
void main(int argc, char *argv[])
Definition:
pa1_main.c:47
fpa1_BlockAlloc.h
syntax item block manager Contains functions to create a mini memory manager for allocating syntax li...
pa1_fileName
char pa1_fileName
Definition:
vpa1_rdf.h:36
Generated by
1.8.11