Mercurial > libavformat.hg
annotate rtpdec_xiph.h @ 6145:33fe8833a439 libavformat
RTSP: Don't store the connection handles in local variables
This removes some useless copying of handles, and simplifies error handling.
Patch by Josh Allmann, joshua dot allmann at gmail
author | mstorsjo |
---|---|
date | Sat, 19 Jun 2010 21:36:13 +0000 |
parents | f8d4cc91c798 |
children |
rev | line source |
---|---|
5918
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
1 /* |
5919
abd4e9638613
Rename functions / comments from "Theora" to "Xiph" where relevant.
rbultje
parents:
5918
diff
changeset
|
2 * Xiph RTP Protocols |
5918
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
3 * Based off RFC 5215 (Vorbis RTP) and the Theora RTP draft. |
5921 | 4 * Copyright (c) 2009 Colin McQuillian |
5918
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
5 * Copyright (c) 2010 Josh Allmann |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
6 * |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
7 * This file is part of FFmpeg. |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
8 * |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
9 * FFmpeg is free software; you can redistribute it and/or |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
10 * modify it under the terms of the GNU Lesser General Public |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
11 * License as published by the Free Software Foundation; either |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
12 * version 2.1 of the License, or (at your option) any later version. |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
13 * |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
14 * FFmpeg is distributed in the hope that it will be useful, |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
17 * Lesser General Public License for more details. |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
18 * |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
19 * You should have received a copy of the GNU Lesser General Public |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
20 * License along with FFmpeg; if not, write to the Free Software |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
22 */ |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
23 |
5919
abd4e9638613
Rename functions / comments from "Theora" to "Xiph" where relevant.
rbultje
parents:
5918
diff
changeset
|
24 #ifndef AVFORMAT_RTPDEC_XIPH_H |
abd4e9638613
Rename functions / comments from "Theora" to "Xiph" where relevant.
rbultje
parents:
5918
diff
changeset
|
25 #define AVFORMAT_RTPDEC_XIPH_H |
5918
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
26 |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
27 #include "libavcodec/avcodec.h" |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
28 #include "rtpdec.h" |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
29 |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
30 /** |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
31 * Theora RTP callbacks. |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
32 */ |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
33 extern RTPDynamicProtocolHandler ff_theora_dynamic_handler; |
e3b4d7181606
Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for merging
rbultje
parents:
diff
changeset
|
34 |
5921 | 35 /** |
36 * Vorbis RTP callbacks. | |
37 */ | |
38 extern RTPDynamicProtocolHandler ff_vorbis_dynamic_handler; | |
39 | |
5919
abd4e9638613
Rename functions / comments from "Theora" to "Xiph" where relevant.
rbultje
parents:
5918
diff
changeset
|
40 #endif /* AVFORMAT_RTPDEC_XIPH_H */ |