aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorDustin Brody <libav@parsoma.net>2011-08-06 04:42:34 +0000
committerAnton Khirnov <anton@khirnov.net>2011-08-12 19:10:22 +0200
commit2f63440c59bf8c4a2e90280e23e8cadb235a42e6 (patch)
treee2ef08ef74514f19a737dc5eaff5726e9742788c /libavformat/avformat.h
parent8d2e4a7e687b7fdbb939e236399cf774dc7bead6 (diff)
downloadffmpeg-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.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 {