annotate rtspcodes.h @ 6491:b7f807b4cd88 libavformat tip

In mov demuxer, check that nb_streams is valid before using it in read_dac3
author bcoudurier
date Tue, 28 Sep 2010 00:33:21 +0000
parents 1b6245500d8c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1306
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
1 /*
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
2 * RTSP definitions
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
3 * copyright (c) 2002 Fabrice Bellard
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
4 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1306
diff changeset
5 * This file is part of FFmpeg.
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1306
diff changeset
6 *
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1306
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
1306
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
9 * License as published by the Free Software Foundation; either
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1306
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
1306
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
11 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1306
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
1306
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
15 * Lesser General Public License for more details.
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
16 *
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1306
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
1306
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8bf9be9bb107 Add official LGPL license headers to the files that were missing them.
diego
parents: 0
diff changeset
20 */
1870
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
21
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 2620
diff changeset
22 #ifndef AVFORMAT_RTSPCODES_H
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 2620
diff changeset
23 #define AVFORMAT_RTSPCODES_H
2172
92f61ed53965 add multiple inclusion guards to headers
mru
parents: 1870
diff changeset
24
1870
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
25 /** RTSP handling */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
26 enum RTSPStatusCode {
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
27 RTSP_STATUS_OK =200, /**< OK */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
28 RTSP_STATUS_METHOD =405, /**< Method Not Allowed */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
29 RTSP_STATUS_BANDWIDTH =453, /**< Not Enough Bandwidth */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
30 RTSP_STATUS_SESSION =454, /**< Session Not Found */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
31 RTSP_STATUS_STATE =455, /**< Method Not Valid in This State */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
32 RTSP_STATUS_AGGREGATE =459, /**< Aggregate operation not allowed */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
33 RTSP_STATUS_ONLY_AGGREGATE =460, /**< Only aggregate operation allowed */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
34 RTSP_STATUS_TRANSPORT =461, /**< Unsupported transport */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
35 RTSP_STATUS_INTERNAL =500, /**< Internal Server Error */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
36 RTSP_STATUS_SERVICE =503, /**< Service Unavailable */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
37 RTSP_STATUS_VERSION =505, /**< RTSP Version not supported */
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
38 };
22f6839eb478 Convert macro+enum into a simple enum: Currently the enum was filled using a
takis
parents: 1358
diff changeset
39
3852
1b6245500d8c Globally rename the header inclusion guard names.
stefano
parents: 2620
diff changeset
40 #endif /* AVFORMAT_RTSPCODES_H */