summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* swscale: enforce a minimum filtersize.Ronald S. Bultje2012-02-11
| | | | | | | | | | | At very small dimensions, this calculation could lead to zero-sized filters, which leads to uninitialized output, zero-sized allocations, loop overflows in SIMD that uses do{..}while(i++<filtersize); instead of for(i=0;i<filtersize;i++){..} and several other similar failures. Therefore, require a minimum filtersize of 1. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* alacenc: use AVCodec.encode2()Justin Ruggles2012-02-11
|
* alacenc: cosmetics: indentationJustin Ruggles2012-02-11
|
* alacenc: consolidate bitstream writing into a single function.Justin Ruggles2012-02-11
| | | | Simplifies use of verbatim mode.
* alacenc: only encode frame size in header for a final smaller frameJustin Ruggles2012-02-11
| | | | | Otherwise it is not needed because it matches the frame size as encoded in the extradata.
* alacenc: store current frame size in AlacEncodeContext.Justin Ruggles2012-02-11
| | | | This avoids an indirection and will simplify implementation of encode2()
* alacenc: return AVERROR codes in alac_encode_frame()Justin Ruggles2012-02-11
|
* alacenc: calculate a new max frame size for the final small frameJustin Ruggles2012-02-11
| | | | | Gives a better estimate of buffer requirements and a better decision of whether or not to use verbatim mode.
* alacenc: pretty-printing and other cosmeticsJustin Ruggles2012-02-11
|
* alacenc: fix error handling and potential memleaks in alac_encode_init()Justin Ruggles2012-02-11
|
* alacenc: do not set coded_frame->key_frameJustin Ruggles2012-02-11
| | | | It is already set in avcodec_alloc_frame()
* alacenc: do not set bits_per_coded_sampleJustin Ruggles2012-02-11
| | | | encoded ALAC does not have a fixed number of bits per sample
* alacenc: remove unneeded frame_size check in alac_encode_frame()Justin Ruggles2012-02-11
|
* tta: error out if samplerate is zero.Ronald S. Bultje2012-02-11
| | | | | | | Prevents a division by zero later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* ttadec: fix invalid free when an error occurs while decoding 24-bit ttaJustin Ruggles2012-02-10
|
* wavpack: add needed braces for 2 statements inside an if blockJustin Ruggles2012-02-10
|
* v210enc: remove redundant check for pix_fmtPaul B Mahol2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* wavpack: allow user to disable CRC checkingPaul B Mahol2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* v210enc: Use Bytestream2 functionsAneesh Dogra2012-02-10
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* cafdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* yop: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tta: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* tmv: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* r3d: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* nsvdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* mpc8: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* jvdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* filmstripdec: Check return value of avio_seek and avoid modifying state if ↵Joakim Plate2012-02-10
| | | | | | | it fails Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ffmdec: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* dv: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* bink: Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Check AVCodec.pix_fmts in avcodec_open2()Paul B Mahol2012-02-10
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* svq3: Prevent illegal reads while parsing extradata.Alex Converse2012-02-10
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* remove ParseContext1Rafaël Carré2012-02-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: use ff_parse_closeRafaël Carré2012-02-10
| | | | | | It works as long as ParseContext is the first member of the private struct Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegvideo parser: move specific fields into private contextRafaël Carré2012-02-10
| | | | | | This obviates using ParseContext1, which is slated for removal. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg4video parser: move specific fields into private contextRafaël Carré2012-02-10
| | | | | | This obviates using ParseContext1, which is slated for removal. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cavs parser: fix parser context typeRafaël Carré2012-02-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* 4xm, timefilter: K&R formatting cosmeticsYordan Makariev2012-02-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rtpenc: Write a log message if the max packet size is too smallMartin Storsjö2012-02-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: disallow constrained intra prediction modes for luma.Ronald S. Bultje2012-02-09
| | | | | | | | | | | Conversion of the luma intra prediction mode to one of the constrained ("alzheimer") ones can happen by crafting special bitstreams, causing a crash because we'll call a NULL function pointer for 16x16 block intra prediction, since constrained intra prediction functions are only implemented for chroma (8x8 blocks). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* dv: Move tables from dvdata.h to dvdata.cAlex Converse2012-02-09
|
* dv: Move a table used only by the demuxer out of a shared header.Alex Converse2012-02-09
|
* dv: Move functions used only by the encoder out of a shared header.Alex Converse2012-02-09
|
* dv: Split dvdata.h into dvdata.h and dvquant.hAlex Converse2012-02-09
|
* dv: Fix small overread in audio frequency table.Alex Converse2012-02-09
| | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* avcodec: set avpkt->size to 0 if encode2() did not output a packetJustin Ruggles2012-02-09
|
* avcodec: for audio encoding, set packet dts to packet pts.Justin Ruggles2012-02-09
| | | | There are no audio encoders which do frame reordering.
* ac3dsp: do not use pshufb in ac3_extract_exponents_ssse3()Justin Ruggles2012-02-09
| | | | | | | We need to do unsigned saturation in order to cover the corner case when the absolute coefficient value is 16777215 (the maximum value). Fixes Bug #216
* ac3dec: Move center and surround mix level tables to the parser.Michael Niedermayer2012-02-09
| | | | | | | | | | | | That way all mix levels as exported by avpriv_ac3_parse_header() will have the same meaning. Previously the 3-bit center mix level for E-AC-3 was used to index in a 4-entry table, leading to out-of-array reads. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Alex Converse <alex.converse@gmail.com>