Mercurial > libavcodec.hg
diff jpeglsdec.c @ 5041:01a165280429 libavcodec
allows to disable jpegls decoder
author | aurel |
---|---|
date | Sat, 19 May 2007 14:31:57 +0000 |
parents | ddb28de352bb |
children | 5b3acf9fd50a |
line wrap: on
line diff
--- a/jpeglsdec.c Sat May 19 02:32:59 2007 +0000 +++ b/jpeglsdec.c Sat May 19 14:31:57 2007 +0000 @@ -29,6 +29,7 @@ #include "bitstream.h" #include "golomb.h" #include "mjpeg.h" +#include "mjpegdec.h" #include "jpegls.h" #include "jpeglsdec.h" @@ -359,3 +360,16 @@ return 0; } + + +AVCodec jpegls_decoder = { + "jpegls", + CODEC_TYPE_VIDEO, + CODEC_ID_JPEGLS, + sizeof(MJpegDecodeContext), + ff_mjpeg_decode_init, + NULL, + ff_mjpeg_decode_end, + ff_mjpeg_decode_frame, + CODEC_CAP_DR1, +};