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:
authorDustin Brody <libav@parsoma.net>2011-08-06 08:42:34 +0400
committerAnton Khirnov <anton@khirnov.net>2011-08-12 21:10:22 +0400
commit2f63440c59bf8c4a2e90280e23e8cadb235a42e6 (patch)
treee2ef08ef74514f19a737dc5eaff5726e9742788c /libavformat/avformat.h
parent8d2e4a7e687b7fdbb939e236399cf774dc7bead6 (diff)
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.h8
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 {