Commit aaeb37f3 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/internal: Move FFERROR_REDO to demux.h

It is demuxer-only.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent c19797bf
...@@ -55,6 +55,12 @@ typedef struct FFStreamInfo { ...@@ -55,6 +55,12 @@ typedef struct FFStreamInfo {
int fps_last_dts_idx; int fps_last_dts_idx;
} FFStreamInfo; } 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)) #define RELATIVE_TS_BASE (INT64_MAX - (1LL << 48))
static av_always_inline int is_relative(int64_t ts) static av_always_inline int is_relative(int64_t ts)
......
...@@ -651,12 +651,6 @@ int ff_alloc_extradata(AVCodecParameters *par, int size); ...@@ -651,12 +651,6 @@ int ff_alloc_extradata(AVCodecParameters *par, int size);
*/ */
int ff_copy_whiteblacklists(AVFormatContext *dst, const AVFormatContext *src); int ff_copy_whiteblacklists(AVFormatContext *dst, const AVFormatContext *src);
/**
* 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')
/* /*
* A wrapper around AVFormatContext.io_close that should be used * A wrapper around AVFormatContext.io_close that should be used
* instead of calling the pointer directly. * instead of calling the pointer directly.
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h" #include "libavcodec/bytestream.h"
#include "avformat.h" #include "avformat.h"
#include "demux.h"
#include "internal.h" #include "internal.h"
#define LXF_MAX_PACKET_HEADER_SIZE 256 #define LXF_MAX_PACKET_HEADER_SIZE 256
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "avformat.h" #include "avformat.h"
#include "avio_internal.h" #include "avio_internal.h"
#include "demux.h"
#include "internal.h" #include "internal.h"
#define SMACKER_PAL 0x01 #define SMACKER_PAL 0x01
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment