[FFmpeg-devel] av_first_bitstream_filter in avcodec.h

Dean Pavlekovic dpavlekovic
Fri Sep 14 10:00:37 CEST 2007

Hi all,

Just one small thing, I've noticed that avcodec.h declares extern
'av_first_bitstream_filter' variable which isn't defined nor
referenced anywhere else. However, there's 'first_bitstream_filter'
defined in bitstream_filter.c.

$ grep -r first_bitstream_filter *
libavcodec/avcodec.h:extern AVBitStreamFilter *av_first_bitstream_filter;
libavcodec/bitstream_filter.c:AVBitStreamFilter *first_bitstream_filter= NULL;
libavcodec/bitstream_filter.c:    bsf->next = first_bitstream_filter;
libavcodec/bitstream_filter.c:    first_bitstream_filter= bsf;
libavcodec/bitstream_filter.c:    AVBitStreamFilter *bsf=

So is this 'av_' difference a typo or the first_bitstream_filter isn't
supposed to be exported, in which case the av_bitstream_filter
declaration in avcodec.h is superfluous? Or something else

Best regards,

More information about the ffmpeg-devel mailing list