summaryrefslogtreecommitdiff
path: root/libavformat/demux.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-10 09:08:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-12 08:52:59 +0200
commitaaeb37f3856ed0c29f735962b806c2e2fbfc1540 (patch)
tree9c2672b2bce84ee51060188eae50fbe922667b68 /libavformat/demux.h
parentc19797bf59f0541d6915dab7c1568d5311757d9d (diff)
avformat/internal: Move FFERROR_REDO to demux.h
It is demuxer-only. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/demux.h')
-rw-r--r--libavformat/demux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/demux.h b/libavformat/demux.h
index a008c3dba1..1f57e062f6 100644
--- a/libavformat/demux.h
+++ b/libavformat/demux.h
@@ -55,6 +55,12 @@ typedef struct FFStreamInfo {
int fps_last_dts_idx;
} FFStreamInfo;
+/**
+ * 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')
+
#define RELATIVE_TS_BASE (INT64_MAX - (1LL << 48))
static av_always_inline int is_relative(int64_t ts)