diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-11-12 17:43:55 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-12-14 09:06:45 +0100 |
commit | 972c71e9cb63e24f57ee481e413199c7d88a8813 (patch) | |
tree | bf0a84ea4cd0a84dc8f1c1e0a6c6f80c7934653c /libavcodec/internal.h | |
parent | 061a0c14bb5767bca72e3a7227ca400de439ba09 (diff) | |
download | ffmpeg-972c71e9cb63e24f57ee481e413199c7d88a8813.tar.gz |
lavc: add support for filtering packets before decoding
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 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 |