diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-07 11:52:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-07 11:52:08 +0100 |
commit | 69ee915e1c628fdf8b270de8c19ff357333e354a (patch) | |
tree | 25e8f7c1ded2cb0d23fb0e287dac6193ff76b32e /libavcodec/parser.h | |
parent | ddae03f69bc1c6ec97c028c91837710944427b83 (diff) | |
download | ffmpeg-69ee915e1c628fdf8b270de8c19ff357333e354a.tar.gz |
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.h | 3 |
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 */ |