diff options
Diffstat (limited to 'libavcodec/bsf_internal.h')
-rw-r--r-- | libavcodec/bsf_internal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/bsf_internal.h b/libavcodec/bsf_internal.h index 06979fdaa3..922b03c01b 100644 --- a/libavcodec/bsf_internal.h +++ b/libavcodec/bsf_internal.h @@ -24,6 +24,19 @@ #include "bsf.h" #include "packet.h" +typedef struct FFBitStreamFilter { + /** + * The public AVBitStreamFilter. See bsf.h for it. + */ + AVBitStreamFilter p; + + int priv_data_size; + int (*init)(AVBSFContext *ctx); + int (*filter)(AVBSFContext *ctx, AVPacket *pkt); + void (*close)(AVBSFContext *ctx); + void (*flush)(AVBSFContext *ctx); +} FFBitStreamFilter; + /** * Called by the bitstream filters to get the next packet for filtering. * The filter is responsible for either freeing the packet or passing it to the |