summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorZohar Kelrich <lumimies@gmail.com>2011-07-24 17:28:33 +0300
committerLuca Barbato <lu_zero@gentoo.org>2011-08-02 02:52:41 +0200
commit73e8e8dbf969b9a0bc1591abcfeba474a42e47bc (patch)
tree853e79fdfbab27c1be31fff674a1fe215ea2faeb /libavformat/avformat.h
parent5081514269a17809f8a8ff71e6b26e4b761e8266 (diff)
lavf: Add an option to discard corrupted frames
Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index cfdbd11b36..2f68abab25 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -750,6 +750,7 @@ typedef struct AVFormatContext {
#define AVFMT_FLAG_RTP_HINT 0x0040 ///< Deprecated, use the -movflags rtphint muxer specific AVOption instead
#endif
#define AVFMT_FLAG_CUSTOM_IO 0x0080 ///< The caller has supplied a custom AVIOContext, don't avio_close() it.
+#define AVFMT_FLAG_DISCARD_CORRUPT 0x0100 ///< Discard frames marked corrupted
#if FF_API_LOOP_INPUT
/**