Mercurial > libavcodec.hg
diff mpeg12.c @ 4994:3fa689636240 libavcodec
allow to enable or disable every bitstream filters individually
Original patch by Jason Millard jsm174 _at_ gmail
Date: On Fri, 11 May 2007 11:14:01 -0400
Subject: [FFmpeg-devel] enable/disable bitstream filters?
author | aurel |
---|---|
date | Sat, 12 May 2007 23:33:53 +0000 |
parents | 0d1cc37d9430 |
children | fa59236be6af |
line wrap: on
line diff
--- a/mpeg12.c Sat May 12 22:50:12 2007 +0000 +++ b/mpeg12.c Sat May 12 23:33:53 2007 +0000 @@ -3354,6 +3354,7 @@ #endif +#ifdef CONFIG_IMX_DUMP_HEADER_BSF static int imx_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe) @@ -3382,6 +3383,7 @@ 0, imx_dump_header, }; +#endif /* this is ugly i know, but the alternative is too make hundreds of vars global and prefix them with ff_mpeg1_