annotate h263_parser.h @ 6920:d02af7474bff libavcodec

Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays. fixes CID84 RUN2 CID85 RUN2 CID86 RUN2 CID87 RUN2 CID88 RUN2 CID89 RUN2 CID90 RUN2 CID91 RUN2 CID92 RUN2 CID93 RUN2 CID94 RUN2 CID95 RUN2 CID96 RUN2 CID97 RUN2 CID98 RUN2 CID99 RUN2 CID100 RUN2 CID101 RUN2 CID102 RUN2 CID103 RUN2 CID104 RUN2 CID105 RUN2 CID106 RUN2
author michael
date Wed, 28 May 2008 11:59:41 +0000
parents 1d83e9c34641
children c4a4495715dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4938
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
1 /*
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
2 * H.263 parser
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
3 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
4 *
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
5 * This file is part of FFmpeg.
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
6 *
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
11 *
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
15 * Lesser General Public License for more details.
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
16 *
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
20 */
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
21
5830
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5169
diff changeset
22 #ifndef FFMPEG_H263_PARSER_H
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5169
diff changeset
23 #define FFMPEG_H263_PARSER_H
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 5162
diff changeset
24
5162
4394344397d8 include all prerequisites in header files
mru
parents: 4938
diff changeset
25 #include "parser.h"
4394344397d8 include all prerequisites in header files
mru
parents: 4938
diff changeset
26
4938
ee6c1ce06470 Move H.263 parser to its own file.
diego
parents:
diff changeset
27 int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 5162
diff changeset
28
5830
1d83e9c34641 Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents: 5169
diff changeset
29 #endif /* FFMPEG_H263_PARSER_H */