* * @param buf input * @param buf_size input length, 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 poutbuf will contain a pointer to the first byte of the output frame * @param poutbuf_size will contain the length of the output frame * @
| 132 | * @deprecated Use av_parser_parse2() instead. |
| 133 | */ |
| 134 | int av_parser_parse(AVCodecParserContext *s, |
| 135 | AVCodecContext *avctx, |
| 136 | uint8_t **poutbuf, int *poutbuf_size, |
| 137 | const uint8_t *buf, int buf_size, |
| 138 | int64_t pts, int64_t dts) |
| 139 | { |
| 140 | return av_parser_parse2(s, avctx, poutbuf, poutbuf_size, buf, buf_size, pts, dts, AV_NOPTS_VALUE); |
| 141 | } |
| 142 | |
| 143 | int av_parser_parse2(AVCodecParserContext *s, |
| 144 | AVCodecContext *avctx, |
nothing calls this directly
no test coverage detected