X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fbsf.c;h=d71bc32584bc9ddd7a24bd047fe51a413c3dbabe;hb=7b100839330ace3b4846ee4a1fc5caf4b8f8a34e;hp=42c20df29654c67f2990662dede0afdc984d9cb6;hpb=bf80725352d274aed2fdd8f2d457788b3c2e5e7e;p=ffmpeg diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 42c20df2965..d71bc32584b 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -25,8 +25,10 @@ #include "libavutil/avstring.h" #include "libavutil/bprint.h" -#include "avcodec.h" +#include "bsf.h" #include "bsf_internal.h" +#include "codec_desc.h" +#include "codec_par.h" #define IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems) @@ -77,7 +79,10 @@ static const AVClass bsf_class = { .item_name = bsf_to_name, .version = LIBAVUTIL_VERSION_INT, .child_next = bsf_child_next, +#if FF_API_CHILD_CLASS_NEXT .child_class_next = ff_bsf_child_class_next, +#endif + .child_class_iterate = ff_bsf_child_class_iterate, .category = AV_CLASS_CATEGORY_BITSTREAM_FILTER, };