diff options
author | Dustin Brody <libav@parsoma.net> | 2011-08-06 04:42:34 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-12 19:10:22 +0200 |
commit | 2f63440c59bf8c4a2e90280e23e8cadb235a42e6 (patch) | |
tree | e2ef08ef74514f19a737dc5eaff5726e9742788c /libavformat/avformat.h | |
parent | 8d2e4a7e687b7fdbb939e236399cf774dc7bead6 (diff) | |
download | ffmpeg-2f63440c59bf8c4a2e90280e23e8cadb235a42e6.tar.gz |
lavf: add support for error_recognition, use it in avidec, and bump minor API version
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 2f68abab25..957039f64e 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -854,6 +854,14 @@ typedef struct AVFormatContext { * decoding: number of frames used to probe fps */ int fps_probe_size; + + /** + * Error recognition; higher values will detect more errors but may + * misdetect some more or less valid parts as errors. + * - encoding: unused + * - decoding: Set by user. + */ + int error_recognition; } AVFormatContext; typedef struct AVPacketList { |