summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-18 09:28:49 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-08 18:39:28 +0200
commit6002fdef5eba7ecc623092583d5bb051c8a27318 (patch)
tree10cf54f3ae775f3468aeddd1b66d3e77a7333af6 /libavformat/avformat.h
parenta726d7fd4e0b112b276678ea9da9c9b3097e8b8f (diff)
img2: add loop private option.
Deprecate AVFormatContext.loop_input.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 9011099a21..1be9f39646 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -742,7 +742,12 @@ typedef struct AVFormatContext {
#endif
#define AVFMT_FLAG_CUSTOM_IO 0x0080 ///< The caller has supplied a custom AVIOContext, don't avio_close() it.
- int loop_input;
+#if FF_API_LOOP_INPUT
+ /**
+ * @deprecated, use the 'loop' img2 demuxer private option.
+ */
+ attribute_deprecated int loop_input;
+#endif
/**
* decoding: size of data to probe; encoding: unused.