Mercurial > libavcodec.hg
comparison mjpeg.c @ 4871:36c3e5333a44 libavcodec
compile mjpeg parser if requested
author | alex |
---|---|
date | Sat, 21 Apr 2007 00:36:53 +0000 |
parents | 6c5198376e06 |
children | 0d1cc37d9430 |
comparison
equal
deleted
inserted
replaced
4870:9eb71aebecf4 | 4871:36c3e5333a44 |
---|---|
2624 encode_picture_lossless, | 2624 encode_picture_lossless, |
2625 MPV_encode_end, | 2625 MPV_encode_end, |
2626 }; | 2626 }; |
2627 #endif | 2627 #endif |
2628 | 2628 |
2629 #ifdef CONFIG_MJPEG_PARSER | |
2629 AVCodecParser mjpeg_parser = { | 2630 AVCodecParser mjpeg_parser = { |
2630 { CODEC_ID_MJPEG }, | 2631 { CODEC_ID_MJPEG }, |
2631 sizeof(ParseContext), | 2632 sizeof(ParseContext), |
2632 NULL, | 2633 NULL, |
2633 jpeg_parse, | 2634 jpeg_parse, |
2634 ff_parse_close, | 2635 ff_parse_close, |
2635 }; | 2636 }; |
2637 #endif | |
2636 | 2638 |
2637 AVBitStreamFilter mjpega_dump_header_bsf = { | 2639 AVBitStreamFilter mjpega_dump_header_bsf = { |
2638 "mjpegadump", | 2640 "mjpegadump", |
2639 0, | 2641 0, |
2640 mjpega_dump_header, | 2642 mjpega_dump_header, |