]> git.sesse.net Git - ffmpeg/commitdiff
ff_fetch_timestamp() prototype
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jun 2008 03:12:56 +0000 (03:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jun 2008 03:12:56 +0000 (03:12 +0000)
Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/parser.h

index 47eeb4cdeaf9ec120faeb46331c970b8aa8393ad..62d93ffed1f4c01f5e836f5100bfa4b0f0edd331 100644 (file)
@@ -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 */