Mercurial > libavcodec.hg
annotate msmpeg4.h @ 5696:914ff70e1367 libavcodec
Do not decode more data than output buffer may hold
author | kostya |
---|---|
date | Sat, 22 Sep 2007 09:09:47 +0000 |
parents | 7b3fcb7c61ce |
children | 1d83e9c34641 |
rev | line source |
---|---|
4967
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
1 /* |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
2 * MSMPEG4 backend for ffmpeg encoder and decoder |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
3 * copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org> |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
4 * |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
5 * This file is part of FFmpeg. |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
6 * |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
8 * modify it under the terms of the GNU Lesser General Public |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
9 * License as published by the Free Software Foundation; either |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
11 * |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
15 * Lesser General Public License for more details. |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
16 * |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
17 * You should have received a copy of the GNU Lesser General Public |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
20 */ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
21 |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
22 /** |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
23 * @file msmpeg4.h |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
24 */ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
25 |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
26 #ifndef MSMPEG4_H |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
27 #define MSMPEG4_H |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
28 |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
29 #include "config.h" |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
30 |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
31 #define ENABLE_MSMPEG4_DECODER (ENABLE_MSMPEG4V1_DECODER || \ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
32 ENABLE_MSMPEG4V2_DECODER || \ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
33 ENABLE_MSMPEG4V3_DECODER || \ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
34 ENABLE_WMV2_DECODER) |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
35 #define ENABLE_MSMPEG4_ENCODER (ENABLE_MSMPEG4V1_ENCODER || \ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
36 ENABLE_MSMPEG4V2_ENCODER || \ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
37 ENABLE_MSMPEG4V3_ENCODER || \ |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
38 ENABLE_WMV2_ENCODER) |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
39 #define ENABLE_MSMPEG4 (ENABLE_MSMPEG4_DECODER || ENABLE_MSMPEG4_ENCODER) |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
40 #define ENABLE_WMV2 (ENABLE_WMV2_DECODER || ENABLE_WMV2_ENCODER) |
5277
7b3fcb7c61ce
Avoid linking with h263.c functions when the relevant codecs
aurel
parents:
4967
diff
changeset
|
41 #define ENABLE_WMV_DECODER (ENABLE_WMV1_DECODER || ENABLE_WMV2_DECODER) |
7b3fcb7c61ce
Avoid linking with h263.c functions when the relevant codecs
aurel
parents:
4967
diff
changeset
|
42 #define ENABLE_WMV_ENCODER (ENABLE_WMV1_ENCODER || ENABLE_WMV2_ENCODER) |
4967
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
43 |
6d45158e0249
disable reference to msmpeg4 and wmv2 code when those codecs are not compiled in
aurel
parents:
diff
changeset
|
44 #endif /* MSMPEG4_H */ |