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:
authorNicolas George <george@nsup.org>2015-11-27 20:57:27 +0300
committerNicolas George <george@nsup.org>2015-12-03 21:16:12 +0300
commit3ab1e5a48c53fdecdf50d177d20b6476094cec68 (patch)
tree57e7b466084caf2b500ed854d5a967581e3d8239 /libavformat/internal.h
parent64f7db554ee83846f207e82a08946a6a5a6acfe2 (diff)
lavf: add FFERROR_REDO to let demuxers return no packet.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index ee860947e1..90f0a61433 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -516,4 +516,10 @@ int ff_copy_whitelists(AVFormatContext *dst, AVFormatContext *src);
int ffio_open2_wrapper(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags,
const AVIOInterruptCB *int_cb, AVDictionary **options);
+/**
+ * Returned by demuxers to indicate that data was consumed but discarded
+ * (ignored streams or junk data). The framework will re-call the demuxer.
+ */
+#define FFERROR_REDO FFERRTAG('R','E','D','O')
+
#endif /* AVFORMAT_INTERNAL_H */