aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-06-03 03:12:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-06-03 03:12:56 +0000
commitee3509d94e0baf7c42095723e62dd35bb1054f91 (patch)
treeaac6b9375f3d5a5ad641a8acf218f4796bfe8254 /libavcodec/parser.h
parentd59591fb02c29b41e5b8d611160971a4493394c2 (diff)
downloadffmpeg-ee3509d94e0baf7c42095723e62dd35bb1054f91.tar.gz
ff_fetch_timestamp() prototype
Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.h')
-rw-r--r--libavcodec/parser.h7
1 files changed, 7 insertions, 0 deletions
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 */