diff options
author | James Almer <jamrial@gmail.com> | 2017-04-22 22:35:27 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-22 22:35:27 -0300 |
commit | 79778bb9b0aea2b2eb6d8982994889c8fd47e4ce (patch) | |
tree | 19c948c4406a8749e2c7c426f849fcacf612407c /libavcodec/internal.h | |
parent | f92e1af844208eb34fc0cdb2e38959c3a92165c9 (diff) | |
parent | 972c71e9cb63e24f57ee481e413199c7d88a8813 (diff) |
Merge commit '972c71e9cb63e24f57ee481e413199c7d88a8813'
* commit '972c71e9cb63e24f57ee481e413199c7d88a8813':
lavc: add support for filtering packets before decoding
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 2fd27d8431..84d3362f39 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -106,6 +106,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 @@ -143,6 +148,7 @@ typedef struct AVCodecInternal { void *thread_ctx; DecodeSimpleContext ds; + DecodeFilterContext filter; /** * Properties (timestamps+side data) extracted from the last packet passed |