Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-11-12 19:43:55 +0300
committerAnton Khirnov <anton@khirnov.net>2016-12-14 11:06:45 +0300
commit972c71e9cb63e24f57ee481e413199c7d88a8813 (patch)
treebf0a84ea4cd0a84dc8f1c1e0a6c6f80c7934653c /libavcodec/internal.h
parent061a0c14bb5767bca72e3a7227ca400de439ba09 (diff)
lavc: add support for filtering packets before decoding
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index dc24e8f764..796d45ff6e 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -99,6 +99,11 @@ typedef struct DecodeSimpleContext {
AVFrame *out_frame;
} DecodeSimpleContext;
+typedef struct DecodeFilterContext {
+ AVBSFContext **bsfs;
+ int nb_bsfs;
+} DecodeFilterContext;
+
typedef struct AVCodecInternal {
/**
* Whether the parent AVCodecContext is a copy of the context which had
@@ -136,6 +141,7 @@ typedef struct AVCodecInternal {
void *thread_ctx;
DecodeSimpleContext ds;
+ DecodeFilterContext filter;
/**
* Properties (timestamps+side data) extracted from the last packet passed