changeset 4871:36c3e5333a44 libavcodec

compile mjpeg parser if requested
author alex
date Sat, 21 Apr 2007 00:36:53 +0000
parents 9eb71aebecf4
children 334a964f6fc1
files mjpeg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mjpeg.c	Sat Apr 21 00:29:01 2007 +0000
+++ b/mjpeg.c	Sat Apr 21 00:36:53 2007 +0000
@@ -2626,6 +2626,7 @@
 };
 #endif
 
+#ifdef CONFIG_MJPEG_PARSER
 AVCodecParser mjpeg_parser = {
     { CODEC_ID_MJPEG },
     sizeof(ParseContext),
@@ -2633,6 +2634,7 @@
     jpeg_parse,
     ff_parse_close,
 };
+#endif
 
 AVBitStreamFilter mjpega_dump_header_bsf = {
     "mjpegadump",