From 69ee915e1c628fdf8b270de8c19ff357333e354a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 7 Jan 2015 11:52:08 +0100 Subject: avcodec/parser: add fuzzy mode to ff_fetch_timestamp() This will be needed for the following timestamp fix Signed-off-by: Michael Niedermayer --- libavcodec/parser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/parser.h') 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 */ -- cgit v1.2.3