summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
| * | alacenc: do not set bits_per_coded_sampleJustin Ruggles2012-02-111-5/+4
| | | | | | | | | | | | 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-111-5/+0
| | |
| * | tta: error out if samplerate is zero.Ronald S. Bultje2012-02-111-0/+3
| | | | | | | | | | | | | | | | | | | | | Prevents a division by zero later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected]
| * | ttadec: fix invalid free when an error occurs while decoding 24-bit ttaJustin Ruggles2012-02-101-6/+17
| | |
| * | wavpack: add needed braces for 2 statements inside an if blockJustin Ruggles2012-02-101-1/+2
| | |
* | | Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.Carl Eugen Hoyos2012-02-121-1/+1
| | | | | | | | | | | | Fixes ticket #973.
* | | tta: reindentPaul B Mahol2012-02-111-23/+23
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | lagarith: Fix out of array reads.Michael Niedermayer2012-02-111-4/+5
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1: Assume encoding all bits is wanted if bits_per_raw_sample == 0.Carl Eugen Hoyos2012-02-111-8/+18
| | |
* | | Cosmetics: Move a block in ffv1's encode_init().Carl Eugen Hoyos2012-02-111-38/+38
| | | | | | | | | | | | Makes the next patch smaller.
* | | ansi: Fix use of uninitalized width/height warning.Michael Niedermayer2012-02-111-0/+2
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | tta: Add some safety precautions to avoid freeing things that have not been ↵Michael Niedermayer2012-02-111-2/+5
| | | | | | | | | | | | | | | | | | allocated. Signed-off-by: Michael Niedermayer <[email protected]>
* | | tta: do not leak memory if bps == 3Paul B Mahol2012-02-111-3/+5
| | | | | | | | | | | | | | | | | | | | | In bps == 3 case output is decoded directly. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-1124-873/+1105
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (38 commits) v210enc: remove redundant check for pix_fmt wavpack: allow user to disable CRC checking v210enc: Use Bytestream2 functions cafdec: Check return value of avio_seek and avoid modifying state if it fails yop: Check return value of avio_seek and avoid modifying state if it fails tta: Check return value of avio_seek and avoid modifying state if it fails tmv: Check return value of avio_seek and avoid modifying state if it fails r3d: Check return value of avio_seek and avoid modifying state if it fails nsvdec: Check return value of avio_seek and avoid modifying state if it fails mpc8: Check return value of avio_seek and avoid modifying state if it fails jvdec: Check return value of avio_seek and avoid modifying state if it fails filmstripdec: Check return value of avio_seek and avoid modifying state if it fails ffmdec: Check return value of avio_seek and avoid modifying state if it fails dv: Check return value of avio_seek and avoid modifying state if it fails bink: Check return value of avio_seek and avoid modifying state if it fails Check AVCodec.pix_fmts in avcodec_open2() svq3: Prevent illegal reads while parsing extradata. remove ParseContext1 vc1: use ff_parse_close mpegvideo parser: move specific fields into private context ... Conflicts: libavcodec/4xm.c libavcodec/aacdec.c libavcodec/h264.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/mpeg4video_parser.c libavcodec/svq3.c libavcodec/v210enc.c libavformat/cafdec.c Merged-by: Michael Niedermayer <[email protected]>
| * | v210enc: remove redundant check for pix_fmtPaul B Mahol2012-02-101-5/+0
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | wavpack: allow user to disable CRC checkingPaul B Mahol2012-02-101-16/+21
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | v210enc: Use Bytestream2 functionsAneesh Dogra2012-02-101-10/+11
| | | | | | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * | Check AVCodec.pix_fmts in avcodec_open2()Paul B Mahol2012-02-101-0/+10
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | svq3: Prevent illegal reads while parsing extradata.Alex Converse2012-02-101-5/+14
| | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * | remove ParseContext1Rafaël Carré2012-02-102-22/+0
| | | | | | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>
| * | vc1: use ff_parse_closeRafaël Carré2012-02-101-1/+1
| | | | | | | | | | | | | | | | | | It works as long as ParseContext is the first member of the private struct Signed-off-by: Diego Biurrun <[email protected]>
| * | mpegvideo parser: move specific fields into private contextRafaël Carré2012-02-101-4/+12
| | | | | | | | | | | | | | | | | | This obviates using ParseContext1, which is slated for removal. Signed-off-by: Diego Biurrun <[email protected]>
| * | mpeg4video parser: move specific fields into private contextRafaël Carré2012-02-101-9/+11
| | | | | | | | | | | | | | | | | | This obviates using ParseContext1, which is slated for removal. Signed-off-by: Diego Biurrun <[email protected]>
| * | cavs parser: fix parser context typeRafaël Carré2012-02-101-2/+2
| | | | | | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>
| * | 4xm, timefilter: K&R formatting cosmeticsYordan Makariev2012-02-101-423/+475
| | | | | | | | | | | | Signed-off-by: Diego Biurrun <[email protected]>
| * | h264: disallow constrained intra prediction modes for luma.Ronald S. Bultje2012-02-095-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: [email protected]
| * | dv: Move tables from dvdata.h to dvdata.cAlex Converse2012-02-092-39/+38
| | |
| * | dv: Move a table used only by the demuxer out of a shared header.Alex Converse2012-02-091-4/+0
| | |
| * | dv: Move functions used only by the encoder out of a shared header.Alex Converse2012-02-092-35/+35
| | |
| * | dv: Split dvdata.h into dvdata.h and dvquant.hAlex Converse2012-02-093-125/+158
| | |
| * | avcodec: set avpkt->size to 0 if encode2() did not output a packetJustin Ruggles2012-02-091-0/+2
| | |
| * | avcodec: for audio encoding, set packet dts to packet pts.Justin Ruggles2012-02-091-7/+9
| | | | | | | | | | | | There are no audio encoders which do frame reordering.
| * | ac3dsp: do not use pshufb in ac3_extract_exponents_ssse3()Justin Ruggles2012-02-091-9/+4
| | | | | | | | | | | | | | | | | | | | | 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-092-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Justin Ruggles <[email protected]> Signed-off-by: Alex Converse <[email protected]>
| * | aacdec: Unify preconfigured layout and PCE layout.Alex Converse2012-02-091-41/+16
| | |
| * | aacdec: Support native channel layout when requested.Alex Converse2012-02-092-10/+14
| | |
| * | aacdec: Try to sniff a reasonable channel layout for PCE based configurations.Alex Converse2012-02-093-97/+292
| | | | | | | | | | | | This changes the output order of multichannel PCE based streams.
| * | libavcodec: Don't do av_free(av_malloc(0)) for bitstream filtersMartin Storsjö2012-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | This fixes crashes on exit when closing a bitstream filter that hasn't allocated any private data, on OS X. Signed-off-by: Martin Storsjö <[email protected]>
* | | Partially revert "Fix png decoding on x86."Reimar Döffinger2012-02-102-10/+10
| | | | | | | | | | | | | | | | | | This partially reverts commit 58dabf7bf2fdd08f79173da0df613127ff783028. It is no longer necessary to use unaligned mov. The swapped mov argument fix remains though.
* | | Fix bitexact intra mismatch control.Reimar Döffinger2012-02-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The DC coefficient should be included, too. This probably was missed because DC quantizer is always even for MPEG-1/2 but this function is also used for MPEG-4. Signed-off-by: Reimar Döffinger <[email protected]>
* | | mpegvideodec: minor simplifications.Reimar Döffinger2012-02-101-16/+4
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <[email protected]>
* | | msmpeg4: replace 999999 by INT_MAX and initial by a valid index.Michael Niedermayer2012-02-101-2/+2
| | | | | | | | | | | | | | | | | | Fixes Ticket990 Signed-off-by: Michael Niedermayer <[email protected]>
* | | Add missing newline to mpeg1/2 intra matrix error message.Carl Eugen Hoyos2012-02-101-1/+1
| | |
* | | sunrast: Remove the useless check.Aneesh Dogra2012-02-101-4/+0
| | | | | | | | | | | | | | | | | | | | | in , else (1) { if (!1) } the if conditional will never evaluate to be true. So as making the check useless. Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-1024-96/+98
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (26 commits) eac3dec: replace undefined 1<<31 with INT32_MIN in noise generation yadif: specify array size outside DECLARE_ALIGNED prores: specify array size outside DECLARE_ALIGNED brackets. WavPack demuxer: set packet duration tta: use skip_bits_long() mxfdec: Ignore the last entry in Avid's index table segments mxfdec: Sanity-check SampleRate mxfdec: Handle small EditUnitByteCount mxfdec: Consider OPAtom files that do not have exactly one EC to be OP1a mxfdec: Don't crash in mxf_packet_timestamps() if current_edit_unit overflows mxfdec: Zero nb_ptses in mxf_compute_ptses_fake_index() mxfdec: Sanity check PreviousPartition mxfdec: Never seek back in local sets and KLVs mxfdec: Move the current_partition check inside mxf_read_header() mxfdec: Fix infinite loop in mxf_packet_timestamps() mxfdec: Check eof_reached in mxf_read_local_tags() mxfdec: Check for NULL component mxfdec: Make sure mxf->nb_index_tables > 0 in mxf_packet_timestamps() mxfdec: Make sure x < index_table->nb_ptses build: Add missing directories to DIRS declarations. ... Conflicts: doc/build_system.txt doc/fate.texi libavfilter/x86/yadif_template.c libavformat/mxfdec.c libavutil/Makefile tests/fate/audio.mak tests/fate/prores.mak tests/fate/screen.mak tests/fate/video.mak tests/ref/fate/bethsoft-vid tests/ref/fate/cscd tests/ref/fate/dfa4 tests/ref/fate/nuv tests/ref/fate/vp8-sign-bias tests/ref/fate/wmv8-drm tests/ref/lavf/gxf Merged-by: Michael Niedermayer <[email protected]>
| * | eac3dec: replace undefined 1<<31 with INT32_MIN in noise generationJanne Grunau2012-02-091-1/+1
| | |
| * | prores: specify array size outside DECLARE_ALIGNED brackets.Ronald S. Bultje2012-02-091-3/+3
| | |
| * | tta: use skip_bits_long()Paul B Mahol2012-02-091-7/+5
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Anton Khirnov <[email protected]>
| * | build: Add missing directories to DIRS declarations.Diego Biurrun2012-02-091-1/+1
| | |
| * | arm: Add missing #include to vp8.h to fix a make checkheaders warning.Diego Biurrun2012-02-091-0/+2
| | |