diff options
author | Josh de Kock <josh@itanimul.li> | 2018-02-02 19:25:36 +0000 |
---|---|---|
committer | Josh de Kock <josh@itanimul.li> | 2018-02-06 18:57:43 +0000 |
commit | 26d879c1cea176d4f0e0a47d4b641c86495aa0e8 (patch) | |
tree | d985a97c170e831b5d2f047c5727ca9120233d67 /libavcodec/avcodec.h | |
parent | cdc78058c78dfa4966758a342acd2c1f3b282c46 (diff) | |
download | ffmpeg-26d879c1cea176d4f0e0a47d4b641c86495aa0e8.tar.gz |
lavc/bsf: make BSF iteration the same as other iterators
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 99f5fb9da0..c41779ad40 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5728,7 +5728,7 @@ attribute_deprecated void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); /** * @deprecated the old bitstream filtering API (using AVBitStreamFilterContext) - * is deprecated. Use av_bsf_next() from the new bitstream filtering API (using + * is deprecated. Use av_bsf_iterate() from the new bitstream filtering API (using * AVBSFContext). */ attribute_deprecated @@ -5750,7 +5750,11 @@ const AVBitStreamFilter *av_bsf_get_by_name(const char *name); * @return the next registered bitstream filter or NULL when the iteration is * finished */ +const AVBitStreamFilter *av_bsf_iterate(void **opaque); +#if FF_API_NEXT +attribute_deprecated const AVBitStreamFilter *av_bsf_next(void **opaque); +#endif /** * Allocate a context for a given bitstream filter. The caller must fill in the |