summaryrefslogtreecommitdiff
path: root/libavcodec/jpeglsdec.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-05-19 14:31:57 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-05-19 14:31:57 +0000
commit5acd8d9e773d0b7dff256e8ed1128b96a6a77a6d (patch)
tree0a41a9ecee7d5bebb22ce4ede5fedcbb4a3aff5c /libavcodec/jpeglsdec.c
parentbf4a90fcc301e0d4a1ac56d24a35bb776155ef64 (diff)
downloadffmpeg-5acd8d9e773d0b7dff256e8ed1128b96a6a77a6d.tar.gz
allows to disable jpegls decoder
Originally committed as revision 9070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/jpeglsdec.c')
-rw-r--r--libavcodec/jpeglsdec.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c
index 0d2b35858b..ac40903da8 100644
--- a/libavcodec/jpeglsdec.c
+++ b/libavcodec/jpeglsdec.c
@@ -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 @@ int ff_jpegls_decode_picture(MJpegDecodeContext *s, int near, int point_transfor
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,
+};