annotate h263_parser.h @ 12236:cabcd751b1e5 libavcodec

In h264 parser, return immediately if buf_size is 0, avoid printing erroneous message for last frame.
author bcoudurier
date Fri, 23 Jul 2010 00:34:09 +0000
parents c4a4495715dd
children
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
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
22 #ifndef AVCODEC_H263_PARSER_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
23 #define AVCODEC_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
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
29 #endif /* AVCODEC_H263_PARSER_H */