summaryrefslogtreecommitdiff
path: root/libavcodec/diracdec.c
Commit message (Collapse)AuthorAge
* Move ff_emulated_edge_mc prototypes to videodsp.Ronald S. Bultje2013-02-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc: split snow and dirac DWTsMichael Niedermayer2013-01-14
| | | | | | | There is only about 4 lines of common code, so it alot cleaner when seperated. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: fix typo in mctmp allocationMichael Niedermayer2012-12-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Test mctmp and mcscratch for malloc failure.Michael Niedermayer2012-12-07
| | | | | | | Fixes null pointer dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: fix emulated_edge condition, fix out of array readsMichael Niedermayer2012-12-07
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc: fix decode_frame() third parameter semantics for rest of video decodersPaul B Mahol2012-12-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge commit '594d4d5df3c70404168701dd5c90b7e6e5587793'Michael Niedermayer2012-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '594d4d5df3c70404168701dd5c90b7e6e5587793': lavc: add a wrapper for AVCodecContext.get_buffer(). Conflicts: libavcodec/4xm.c libavcodec/8svx.c libavcodec/bmv.c libavcodec/cljr.c libavcodec/cscd.c libavcodec/dnxhddec.c libavcodec/dpcm.c libavcodec/dpx.c libavcodec/eacmv.c libavcodec/eamad.c libavcodec/frwu.c libavcodec/g723_1.c libavcodec/gifdec.c libavcodec/idcinvideo.c libavcodec/iff.c libavcodec/indeo3.c libavcodec/internal.h libavcodec/interplayvideo.c libavcodec/kmvc.c libavcodec/mpc7.c libavcodec/mpegaudiodec.c libavcodec/pcx.c libavcodec/pngdec.c libavcodec/pnmdec.c libavcodec/rl2.c libavcodec/snow.c libavcodec/targa.c libavcodec/tscc.c libavcodec/txd.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vb.c libavcodec/vmdav.c libavcodec/vp56.c libavcodec/vqavideo.c libavcodec/wavpack.c libavcodec/wnv1.c libavcodec/xl.c libavcodec/yop.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: check wavelet depth, prevent out of array read.Michael Niedermayer2012-11-11
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Use only one frame per referenceMichael Niedermayer2012-11-11
| | | | | | | Prevents null ptr dereference Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: allocate enough space for blocksMichael Niedermayer2012-11-11
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: fix edge emulation check, fixes out of array readsMichael Niedermayer2012-11-11
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer2012-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* cosmetics: minor libavcodec spelling errorsLou Logan2012-06-29
| | | | | | Also update some common misspelled words in patcheck Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix a few @file doxy inconsistencies.Clément Bœsch2012-05-04
|
* diracdec: check xybsepMichael Niedermayer2012-04-18
| | | | | | | Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: check lowdelay bytes.Michael Niedermayer2012-04-16
| | | | | | | Fixes division by zero Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* direcdec: fix infinite loopMichael Niedermayer2012-04-01
| | | | | | Fixes Ticket1156 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Correct the bytestream end pointer.Michael Niedermayer2012-03-06
| | | | | | | This fixes some arith decoder overreads and a potential infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: fix use of deprecated funnctionsMichael Niedermayer2012-02-16
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Check for negative quants which would cause out of array reads.Michael Niedermayer2012-02-02
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Fix integer overflow leading to out of global array read.Michael Niedermayer2012-01-30
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Check num_refs.Michael Niedermayer2012-01-26
| | | | | | | Fixes: CVE-2011-3950 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* diracdec: Check dirac_unpack_idwt_params parameters before storing them.Michael Niedermayer2012-01-26
| | | | | | | Fixes CVE-2011-3949 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Use more designated initializers.Paul B Mahol2011-12-30
| | | | | | | Also remove some pointless NULL/0 assigments. C++ code must be left as it is because named struct initializers are not supported by C++ standard.
* diracdec: fix empty data units.Michael Niedermayer2011-11-14
| | | | | | Fixed Ticket636 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Dirac: Specific struct initializers in AVCodec initializationJordi Ortiz2011-11-05
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Dirac: Removed goto + some code make upJordi Ortiz2011-11-04
| | | | | | (cherry picked from commit 8db434f8a6d210f7fd2f28ba325927d7a5dd04b9) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Dirac: More formatingJordi Ortiz2011-10-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Dirac: Doxygen comments and some formatting enhancementsJordi Ortiz2011-10-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Dirac now returns AVFrames instead of DiracFramesJordi Ortiz2011-10-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* DIRAC Decoder stable version, MMX support removed.multiple authors2011-10-30
Look for MMX_DISABLED to find the disabled functions. Authors of this code are Marco Gerards <marco@gnu.org> and David Conrad <lessen42@gmail.com> With changes from Jordi Ortiz <nenjordi@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>