diff --git a/libavcodec/parser.h b/libavcodec/parser.h index 47eeb4cdeaf9ec120faeb46331c970b8aa8393ad..62d93ffed1f4c01f5e836f5100bfa4b0f0edd331 100644 --- a/libavcodec/parser.h +++ b/libavcodec/parser.h @@ -59,4 +59,11 @@ int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, void ff_parse_close(AVCodecParserContext *s); void ff_parse1_close(AVCodecParserContext *s); +/** + * Fetches timestamps for a specific byte within the current access unit. + * @param off byte position within the access unit. + * @param remove if 1 then found timestamps will be removed, if 0 they will not + */ +void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove); + #endif /* FFMPEG_PARSER_H */