]> git.sesse.net Git - ffmpeg/commitdiff
parser: Move Doxygen documentation to the header files
authorDiego Biurrun <diego@biurrun.de>
Fri, 2 Nov 2012 11:04:16 +0000 (12:04 +0100)
committerDiego Biurrun <diego@biurrun.de>
Fri, 2 Nov 2012 15:44:23 +0000 (16:44 +0100)
libavcodec/avcodec.h
libavcodec/parser.c
libavcodec/parser.h

index 43f7c87b23a55998f41828c6bbc5b3c779f61564..d5968f9e552e4bceaa8b7e9e62b4dbee953556f7 100644 (file)
@@ -3890,6 +3890,10 @@ int av_parser_parse2(AVCodecParserContext *s,
                      int64_t pts, int64_t dts,
                      int64_t pos);
 
+/**
+ * @return 0 if the output buffer is a subset of the input, 1 if it is allocated and must be freed
+ * @deprecated use AVBitstreamFilter
+ */
 int av_parser_change(AVCodecParserContext *s,
                      AVCodecContext *avctx,
                      uint8_t **poutbuf, int *poutbuf_size,
index 03f327efd08d8283ced233de35d6a65058ec4d50..7ace766eb938643e0d7838e8fe1d3f2b9cbf30f5 100644 (file)
@@ -167,11 +167,6 @@ int av_parser_parse2(AVCodecParserContext *s,
     return index;
 }
 
-/**
- *
- * @return 0 if the output buffer is a subset of the input, 1 if it is allocated and must be freed
- * @deprecated use AVBitstreamFilter
- */
 int av_parser_change(AVCodecParserContext *s,
                      AVCodecContext *avctx,
                      uint8_t **poutbuf, int *poutbuf_size,
@@ -217,10 +212,6 @@ void av_parser_close(AVCodecParserContext *s)
 
 /*****************************************************/
 
-/**
- * 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)
 {
     if(pc->overread){
index 1d029e319e3ba18ecdc7bb77e635b72c33dbfe5a..ea1cae28a2fac40a920c175e3414e807c68fcfd8 100644 (file)
@@ -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);