Commit 4ea385bb authored by Alex Beregszaszi's avatar Alex Beregszaszi

compile mjpeg parser if requested

Originally committed as revision 8766 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ddec67e8
...@@ -2626,6 +2626,7 @@ AVCodec ljpeg_encoder = { //FIXME avoid MPV_* lossless jpeg shouldnt need them ...@@ -2626,6 +2626,7 @@ AVCodec ljpeg_encoder = { //FIXME avoid MPV_* lossless jpeg shouldnt need them
}; };
#endif #endif
#ifdef CONFIG_MJPEG_PARSER
AVCodecParser mjpeg_parser = { AVCodecParser mjpeg_parser = {
{ CODEC_ID_MJPEG }, { CODEC_ID_MJPEG },
sizeof(ParseContext), sizeof(ParseContext),
...@@ -2633,6 +2634,7 @@ AVCodecParser mjpeg_parser = { ...@@ -2633,6 +2634,7 @@ AVCodecParser mjpeg_parser = {
jpeg_parse, jpeg_parse,
ff_parse_close, ff_parse_close,
}; };
#endif
AVBitStreamFilter mjpega_dump_header_bsf = { AVBitStreamFilter mjpega_dump_header_bsf = {
"mjpegadump", "mjpegadump",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment