annotate Input/aac/libmp4v2/atom_stsh.cpp @ 9:b6c614e106df trunk

[svn] Remove a stamp-po to fix a compile error.
author nenolod
date Mon, 24 Oct 2005 13:55:57 -0700
parents 6efb9e514224
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
1 /*
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
2 * The contents of this file are subject to the Mozilla Public
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
3 * License Version 1.1 (the "License"); you may not use this file
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
4 * except in compliance with the License. You may obtain a copy of
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
5 * the License at http://www.mozilla.org/MPL/
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
6 *
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
7 * Software distributed under the License is distributed on an "AS
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
9 * implied. See the License for the specific language governing
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
10 * rights and limitations under the License.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
11 *
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
12 * The Original Code is MPEG4IP.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
13 *
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
14 * The Initial Developer of the Original Code is Cisco Systems Inc.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
15 * Portions created by Cisco Systems Inc. are
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
16 * Copyright (C) Cisco Systems Inc. 2001. All Rights Reserved.
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
17 *
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
18 * Contributor(s):
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
19 * Dave Mackie dmackie@cisco.com
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
20 */
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
21
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
22 #include "mp4common.h"
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
23
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
24 MP4StshAtom::MP4StshAtom()
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
25 : MP4Atom("stsh")
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
26 {
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
27 AddVersionAndFlags();
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
28
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
29 MP4Integer32Property* pCount =
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
30 new MP4Integer32Property("entryCount");
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
31 AddProperty(pCount);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
32
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
33 MP4TableProperty* pTable = new MP4TableProperty("entries", pCount);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
34 AddProperty(pTable);
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
35
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
36 pTable->AddProperty(
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
37 new MP4Integer32Property("shadowedSampleNumber"));
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
38 pTable->AddProperty(
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
39 new MP4Integer32Property("syncSampleNumber"));
6efb9e514224 [svn] Import AAC stuff.
nenolod
parents:
diff changeset
40 }