Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-07 13:52:08 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-01-07 13:52:08 +0300
commit69ee915e1c628fdf8b270de8c19ff357333e354a (patch)
tree25e8f7c1ded2cb0d23fb0e287dac6193ff76b32e /libavcodec/parser.h
parentddae03f69bc1c6ec97c028c91837710944427b83 (diff)
avcodec/parser: add fuzzy mode to ff_fetch_timestamp()
This will be needed for the following timestamp fix Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/parser.h')
-rw-r--r--libavcodec/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/parser.h b/libavcodec/parser.h
index 7fe0e115b1..ef35547e9b 100644
--- a/libavcodec/parser.h
+++ b/libavcodec/parser.h
@@ -53,7 +53,8 @@ void ff_parse_close(AVCodecParserContext *s);
* Fetch timestamps for a specific byte within the current access unit.
* @param off byte position within the access unit
* @param remove Found timestamps will be removed if set to 1, kept if set to 0.
+ * @param fuzzy Only use found value if it is more informative than what we already have
*/
-void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove);
+void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove, int fuzzy);
#endif /* AVCODEC_PARSER_H */