From ee3509d94e0baf7c42095723e62dd35bb1054f91 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 3 Jun 2008 03:12:56 +0000 Subject: ff_fetch_timestamp() prototype Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/parser.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavcodec/parser.h') diff --git a/libavcodec/parser.h b/libavcodec/parser.h index 47eeb4cdea..62d93ffed1 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 */ -- cgit v1.2.3