allow to enable or disable every bitstream filters individually
[ffmpeg.git] / libavcodec / mjpeg.c
index 5fa2059be3b2d797af279c790c2d70ad88e42140..eb95e4092c477d29235dd56d16fa8dc02dbc6822 100644 (file)
@@ -2564,8 +2564,10 @@ AVCodec ljpeg_encoder = { //FIXME avoid MPV_* lossless jpeg shouldnt need them
 };
 #endif
 
+#ifdef CONFIG_MJPEGA_DUMP_HEADER_BSF
 AVBitStreamFilter mjpega_dump_header_bsf = {
     "mjpegadump",
     0,
     mjpega_dump_header,
 };
+#endif