summaryrefslogtreecommitdiff
path: root/libavcodec/parser.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-03 14:13:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-03 14:13:45 +0100
commit1885ffb03d0af28e6bac2bcc8725fa15b93f6ac9 (patch)
tree192b6341b447e51b2121dc17509ce852fa36405b /libavcodec/parser.h
parentb91fa5fcca70bdf188b757084edd444d4d8530c9 (diff)
parent9a07c1332cfe092b57b5758f22b686ca58806c60 (diff)
Merge commit '9a07c1332cfe092b57b5758f22b686ca58806c60'
* commit '9a07c1332cfe092b57b5758f22b686ca58806c60': parser: Move Doxygen documentation to the header files PGS subtitles: Expose forced flag x86: PMINUB: port to cpuflags Conflicts: libavcodec/avcodec.h libavcodec/pgssubdec.c libavcodec/version.h libavcodec/x86/ac3dsp.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/parser.h')
-rw-r--r--libavcodec/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/parser.h b/libavcodec/parser.h
index 69f1064fb7..7fe0e115b1 100644
--- a/libavcodec/parser.h
+++ b/libavcodec/parser.h
@@ -39,6 +39,11 @@ typedef struct ParseContext{
#define END_NOT_FOUND (-100)
+/**
+ * Combine the (truncated) bitstream to a complete frame.
+ * @return -1 if no complete frame could be created,
+ * AVERROR(ENOMEM) if there was a memory allocation error
+ */
int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size);
int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf,
int buf_size);