From: Michael Niedermayer Date: Tue, 3 Jun 2008 03:12:56 +0000 (+0000) Subject: ff_fetch_timestamp() prototype X-Git-Tag: v0.5~4277 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee3509d94e0baf7c42095723e62dd35bb1054f91;p=platform%2Fupstream%2Flibav.git ff_fetch_timestamp() prototype Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/parser.h b/libavcodec/parser.h index 47eeb4c..62d93ff 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 */