summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorJason Millard <jsm174@gmail.com>2007-05-12 23:33:53 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-05-12 23:33:53 +0000
commitcd61e40781f7e28fe90ed258955026cff137ed97 (patch)
tree375393bb5b4fb10997e7de040c35f28611c0752c /libavcodec/mpeg12.c
parentcf329752227e5a3b56b4eea75ea86e9570a81891 (diff)
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? Originally committed as revision 9010 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 20ebcdbd3b..25fc14b4af 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -3354,6 +3354,7 @@ AVCodec mpeg_xvmc_decoder = {
#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 @@ AVBitStreamFilter imx_dump_header_bsf = {
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_