Browse Source

lavc/avcodec: Improve av_parser_parse() documentation, mention padding.

Fixes ticket #5809.
tags/n3.2
Carl Eugen Hoyos 9 years ago
parent
commit
7a8e5ff1fd
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libavcodec/avcodec.h

+ 4
- 1
libavcodec/avcodec.h View File

@@ -5146,7 +5146,10 @@ AVCodecParserContext *av_parser_init(int codec_id);
* @param poutbuf set to pointer to parsed buffer or NULL if not yet finished.
* @param poutbuf_size set to size of parsed buffer or zero if not yet finished.
* @param buf input buffer.
* @param buf_size input length, to signal EOF, this should be 0 (so that the last frame can be output).
* @param buf_size buffer size in bytes without the padding. I.e. the full buffer
size is assumed to be buf_size + AV_INPUT_BUFFER_PADDING_SIZE.
To signal EOF, this should be 0 (so that the last frame
can be output).
* @param pts input presentation timestamp.
* @param dts input decoding timestamp.
* @param pos input byte position in stream.


Loading…
Cancel
Save