Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
5040:5c6cd6601371 | 5041:01a165280429 |
---|---|
27 | 27 |
28 #include "avcodec.h" | 28 #include "avcodec.h" |
29 #include "bitstream.h" | 29 #include "bitstream.h" |
30 #include "golomb.h" | 30 #include "golomb.h" |
31 #include "mjpeg.h" | 31 #include "mjpeg.h" |
32 #include "mjpegdec.h" | |
32 #include "jpegls.h" | 33 #include "jpegls.h" |
33 #include "jpeglsdec.h" | 34 #include "jpeglsdec.h" |
34 | 35 |
35 | 36 |
36 /* | 37 /* |
357 av_free(state); | 358 av_free(state); |
358 av_free(zero); | 359 av_free(zero); |
359 | 360 |
360 return 0; | 361 return 0; |
361 } | 362 } |
363 | |
364 | |
365 AVCodec jpegls_decoder = { | |
366 "jpegls", | |
367 CODEC_TYPE_VIDEO, | |
368 CODEC_ID_JPEGLS, | |
369 sizeof(MJpegDecodeContext), | |
370 ff_mjpeg_decode_init, | |
371 NULL, | |
372 ff_mjpeg_decode_end, | |
373 ff_mjpeg_decode_frame, | |
374 CODEC_CAP_DR1, | |
375 }; |