annotate rtmp.h @ 6401:4c2f01a5f69f libavformat

asfcrypt: fix unaligned accesses with armcc Compilers may assume a pointer has natural alignment, even if it was assigned from a pointer type with weaker alignment requirements. It is thus not safe to assign a possibly unaligned value to a pointer, regardless of how it is subsequently dereferenced.
author mru
date Tue, 24 Aug 2010 13:42:28 +0000
parents cc34279f0fab
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5123
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
1 /*
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
2 * RTMP definitions
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
3 * Copyright (c) 2009 Kostya Shishkov
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
4 *
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
5 * This file is part of FFmpeg.
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
6 *
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
11 *
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
15 * Lesser General Public License for more details.
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
16 *
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
20 */
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
21
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
22 #ifndef AVFORMAT_RTMP_H
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
23 #define AVFORMAT_RTMP_H
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
24
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
25 #include "avformat.h"
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
26
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
27 #define RTMP_DEFAULT_PORT 1935
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
28
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
29 #define RTMP_HANDSHAKE_PACKET_SIZE 1536
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
30
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
31 /**
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
32 * emulated Flash client version - 9.0.124.2 on Linux
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
33 * @{
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
34 */
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
35 #define RTMP_CLIENT_PLATFORM "LNX"
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
36 #define RTMP_CLIENT_VER1 9
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
37 #define RTMP_CLIENT_VER2 0
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
38 #define RTMP_CLIENT_VER3 124
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
39 #define RTMP_CLIENT_VER4 2
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
40 /** @} */ //version defines
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
41
cc34279f0fab RTMP protocol support (as a client)
kostya
parents:
diff changeset
42 #endif /* AVFORMAT_RTMP_H */