summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* | | dwt: fix about a dozen "warning: assignment from incompatible pointer type"Michael Niedermayer2012-02-051-13/+13
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | dwt: fix a dozen or so "warning: initialization from incompatible pointer type"Michael Niedermayer2012-02-051-13/+13
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | mpegaudiodec: remove unused variableMichael Niedermayer2012-02-051-1/+0
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | xvid_rc: check that write() succeeded.Michael Niedermayer2012-02-041-1/+4
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-042-11/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: dsputil: remove debug message in dsputil_init(). movdec: Avoid av_malloc(0) in stss build: Drop YASM-OBJS-FFT from SUBDIR_VARS. build: Drop unused X86-OBJS variable. avconv: remove debugging cruft from do_video_out(). avconv: factorize setting stream_index for the output packet. frame{crc/md5}: set the stream timebase from codec timebase. apedec: remove unneeded #include of get_bits.h and associated macro apedec: av_fast_malloc() instead of av_realloc() apedec: fix handling of packet sizes that are not a multiple of 4 bytes Conflicts: libavcodec/apedec.c tests/ref/fate/4xm-1 tests/ref/fate/4xm-2 tests/ref/fate/aasc tests/ref/fate/armovie-escape124 tests/ref/fate/bethsoft-vid tests/ref/fate/cljr tests/ref/fate/creatureshock-avs tests/ref/fate/cscd tests/ref/fate/cvid-partial tests/ref/fate/deluxepaint-anm tests/ref/fate/dfa1 tests/ref/fate/dfa10 tests/ref/fate/dfa11 tests/ref/fate/dfa2 tests/ref/fate/dfa3 tests/ref/fate/dfa4 tests/ref/fate/dfa5 tests/ref/fate/dfa6 tests/ref/fate/dfa7 tests/ref/fate/dfa8 tests/ref/fate/dfa9 tests/ref/fate/film-cvid-pcm-stereo-8bit tests/ref/fate/flic-af11-palette-change tests/ref/fate/flic-magiccarpet tests/ref/fate/fraps-v2 tests/ref/fate/fraps-v3 tests/ref/fate/h264-lossless tests/ref/fate/interplay-mve-16bit tests/ref/fate/interplay-mve-8bit tests/ref/fate/mimic tests/ref/fate/motionpixels tests/ref/fate/mpeg2-field-enc tests/ref/fate/msvideo1-16bit tests/ref/fate/mtv tests/ref/fate/nuv tests/ref/fate/pictor tests/ref/fate/prores-alpha tests/ref/fate/ptx tests/ref/fate/qtrle-16bit tests/ref/fate/qtrle-1bit tests/ref/fate/quickdraw tests/ref/fate/rpza tests/ref/fate/sierra-vmd tests/ref/fate/targa-conformance-CCM8 tests/ref/fate/targa-conformance-UCM8 tests/ref/fate/tiertex-seq tests/ref/fate/truemotion1-15 tests/ref/fate/truemotion1-24 tests/ref/fate/tscc-15bit tests/ref/fate/tscc-32bit tests/ref/fate/v210 tests/ref/fate/vc1-ism tests/ref/fate/vc1_sa00040 tests/ref/fate/vc1_sa00050 tests/ref/fate/vc1_sa10091 tests/ref/fate/vc1_sa20021 tests/ref/fate/vmnc-16bit tests/ref/fate/vmnc-32bit tests/ref/fate/vp5 tests/ref/fate/vp8-sign-bias tests/ref/fate/vqa-cc tests/ref/fate/wmv8-drm tests/ref/fate/yop tests/ref/fate/zmbv-8bit Merged-by: Michael Niedermayer <[email protected]>
| * | dsputil: remove debug message in dsputil_init().Justin Ruggles2012-02-031-2/+0
| | | | | | | | | | | | | | | AVCodecContext.bits_per_raw_sample is used for audio too, and values other than 8, 9, and 10 are valid.
| * | apedec: remove unneeded #include of get_bits.h and associated macroJustin Ruggles2012-02-021-2/+0
| | |
| * | apedec: av_fast_malloc() instead of av_realloc()Justin Ruggles2012-02-021-4/+5
| | | | | | | | | | | | | | | av_realloc() does not guarantee alignment, which is required for DSPContext.bswap_buf().
| * | apedec: fix handling of packet sizes that are not a multiple of 4 bytesJustin Ruggles2012-02-021-6/+11
| | |
* | | apedec: remove unused variableMichael Niedermayer2012-02-041-1/+0
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | zmbv: remove unused variableMichael Niedermayer2012-02-041-1/+0
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Fix png decoding on x86.Reimar Döffinger2012-02-032-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Line sizes are only 8-byte aligned, so use unaliged loads for add_bytes_l2 pointers. Increasing the alignment requirement to 16 seemed a bit extreme (png may be used for rather small sizes). Also fix a mov that had its arguments swapped, leading add_bytes_l2 being applied on up to 8 bytes too few. Signed-off-by: Reimar Döffinger <[email protected]>
* | | Fix NASM compilation.Reimar Döffinger2012-02-031-4/+4
| | | | | | | | | | | | | | | | | | movd needs explicit register size prefix for NASM. Signed-off-by: Reimar Döffinger <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-0314-55/+148
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: libx264: fix indentation. vorbis: fix overflows in floor1[] vector and inverse db table index. win64: add a XMM clobber test configure option. movdec: Parse the dvc1 atom ARM: ac3: fix ac3_bit_alloc_calc_bap_armv6 swscale: K&R formatting cosmetics for Blackfin code frwu: lowercase the FRWU codec name movdec: fix dts generation in fragmented files fate: make acodec-ac3_fixed test output raw AC3 APIchanges: add missing commit hashes swscale: implement MMX, SSE2 and AVX functions for RGB32 input. ra144enc: drop pointless "encoder" from .long_name bethsoftvideo: fix palette reading. mpc7: use av_fast_padded_malloc() mpc7: simplify handling of packet sizes that are not a multiple of 4 bytes doc: decoding Forward Uncompressed is supported Fix a typo in the x86 asm version of ff_vector_clip_int32() pcmenc: Do not set avpkt->size. ff_alloc_packet: modify the size of the packet to match the requested size Conflicts: doc/APIchanges libavcodec/libx264.c libavcodec/mpc7.c libavformat/isom.h libswscale/Makefile libswscale/bfin/yuv2rgb_bfin.c tests/ref/fate/bethsoft-vid tests/ref/seek/ac3_ac3 Merged-by: Michael Niedermayer <[email protected]>
| * | libx264: fix indentation.Anton Khirnov2012-02-021-5/+5
| | |
| * | vorbis: fix overflows in floor1[] vector and inverse db table index.Ronald S. Bultje2012-02-022-15/+14
| | |
| * | win64: add a XMM clobber test configure option.Ronald S. Bultje2012-02-022-0/+81
| | | | | | | | | | | | | | | | | | | | | This will be useful to test more aggressively for failures to mark XMM registers as clobbered in Win64 builds, and prevent regressions thereof. Based on a patch by Ramiro Polla <[email protected]>
| * | ARM: ac3: fix ac3_bit_alloc_calc_bap_armv6Mans Rullgard2012-02-021-8/+7
| | | | | | | | | | | | | | | | | | | | | This function was broken when the start bin was not at the start of a band. Signed-off-by: Mans Rullgard <[email protected]>
| * | frwu: lowercase the FRWU codec namePiotr Bandurski2012-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | This is more consistent with all the other codec names. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Diego Biurrun <[email protected]>
| * | ra144enc: drop pointless "encoder" from .long_namePaul B Mahol2012-02-011-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | bethsoftvideo: fix palette reading.Justin Ruggles2012-02-011-2/+8
| | | | | | | | | | | | | | | | | | Return the correct number of consumed bytes and set *data_size = 0. Returned size is 1 too small, leading to that 1 byte being read as the next frame, which results in an extra blank frame at the beginning of the stream.
| * | mpc7: use av_fast_padded_malloc()Justin Ruggles2012-02-011-7/+13
| | | | | | | | | | | | | | | | | | | | | Avoids doing malloc/free for each frame. Also fixes valgrind errors due to use of uninitialized padding bytes. Based on a patch by Reimar Döffinger <[email protected]>
| * | mpc7: simplify handling of packet sizes that are not a multiple of 4 bytesJustin Ruggles2012-02-011-14/+26
| | |
| * | Fix a typo in the x86 asm version of ff_vector_clip_int32()Justin Ruggles2012-02-011-1/+1
| | | | | | | | | | | | | | | Specifies the correct number of xmm registers used so that they can be saved and restored on Win64 if necessary.
| * | pcmenc: Do not set avpkt->size.Justin Ruggles2012-02-011-1/+0
| | | | | | | | | | | | It is already the correct size as set by ff_alloc_packet().
| * | ff_alloc_packet: modify the size of the packet to match the requested sizeJustin Ruggles2012-02-012-3/+2
| | | | | | | | | | | | | | | This will simplify encoders which use this function to request the exact packet size rather than the maximum size.
* | | Use SECTION_TEXT instead of section .text for the compatibilityKO Myung-Hun2012-02-021-1/+1
| | | | | | | | | | | | | | | | | | aout does not support 'align='. Signed-off-by: Michael Niedermayer <[email protected]>
* | | ffv1: cosmetics: indentationPaul B Mahol2012-02-021-6/+6
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | dct-test: remove odivx_idct_c dead prototype.Clément Bœsch2012-02-021-2/+0
| | |
* | | timecode: drop lavc timecode on next bump.Clément Bœsch2012-02-022-2/+10
| | |
* | | mpeg12enc: use new public timecode API.Clément Bœsch2012-02-022-13/+17
| | |
* | | mpeg12: use av_mpegtc_to_timecode_string().Clément Bœsch2012-02-021-9/+6
| | |
* | | cosmetics: realign verticallyPaul B Mahol2012-02-021-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* | | apedec: Fix alignment and fate.Michael Niedermayer2012-02-021-3/+3
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-0211-89/+99
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) frwu: Employ more meaningful return values. fraps: Use av_fast_padded_malloc() instead of av_realloc() mjpegdec: use av_fast_padded_malloc() eatqi: use av_fast_padded_malloc() asv1: use av_fast_padded_malloc() avcodec: Add av_fast_padded_malloc(). swscale: enable dithering in MMX functions. swscale: make rgb24 function macros slightly smaller. avcodec.h: Remove some disabled cruft. swscale: remove obsolete comment. swscale-test: Drop unused argc and argv arguments from main(). zmbv: Employ more meaningful return values. zmbvenc: Employ more meaningful return values. vc1: prevent null pointer dereference on broken files zmbv: check av_realloc() return values and avoid memleaks on ENOMEM truespeech: align buffer ac3: Do not read past the end of ff_ac3_band_start_tab. dv: Fix small stack overread related to CVE-2011-3929 and CVE-2011-3936. dv: Fix null pointer dereference due to ach=0 dv: check stype ... Conflicts: doc/APIchanges libavcodec/asv1.c libavcodec/avcodec.h libavcodec/eatqi.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/zmbv.c libavformat/dv.c libswscale/swscale.c Merged-by: Michael Niedermayer <[email protected]>
| * | frwu: Employ more meaningful return values.Paul B Mahol2012-02-011-9/+11
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Justin Ruggles <[email protected]>
| * | fraps: Use av_fast_padded_malloc() instead of av_realloc()Reimar Döffinger2012-02-011-2/+9
| | | | | | | | | | | | | | | | | | Ensures alignment and avoids using uninitialized data. Signed-off-by: Justin Ruggles <[email protected]>
| * | mjpegdec: use av_fast_padded_malloc()Reimar Döffinger2012-02-011-7/+3
| | | | | | | | | | | | | | | | | | also check for allocation failure Signed-off-by: Justin Ruggles <[email protected]>
| * | eatqi: use av_fast_padded_malloc()Reimar Döffinger2012-02-011-1/+2
| | | | | | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * | asv1: use av_fast_padded_malloc()Reimar Döffinger2012-02-011-1/+2
| | | | | | | | | | | | Signed-off-by: Justin Ruggles <[email protected]>
| * | avcodec: Add av_fast_padded_malloc().Janne Grunau2012-02-012-0/+22
| | | | | | | | | | | | | | | | | | | | | Wrapper around av_fast_malloc() that keeps FF_INPUT_BUFFER_PADDING_SIZE zero-padded bytes at the end of the used buffer. Based on a patch by Reimar Döffinger <[email protected]>.
| * | avcodec.h: Remove some disabled cruft.Diego Biurrun2012-02-011-26/+0
| | |
| * | zmbv: Employ more meaningful return values.Paul B Mahol2012-02-011-18/+18
| | | | | | | | | | | | | | | | | | | | | Also use av_log_ask_for_sample() where it makes sense. Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Diego Biurrun <[email protected]>
| * | zmbvenc: Employ more meaningful return values.Paul B Mahol2012-02-011-4/+4
| | | | | | | | | | | | | | | Signed-off-by: Paul B Mahol <[email protected]> Signed-off-by: Diego Biurrun <[email protected]>
| * | vc1: prevent null pointer dereference on broken filesJanne Grunau2012-02-011-1/+1
| | | | | | | | | | | | CC: [email protected]
| * | zmbv: check av_realloc() return values and avoid memleaks on ENOMEMJanne Grunau2012-02-011-2/+9
| | |
| * | truespeech: align bufferPaul B Mahol2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | DSPContext.bswap_buf() requires aligned output Signed-off-by: Ronald S. Bultje <[email protected]>
| * | ac3: Do not read past the end of ff_ac3_band_start_tab.Mans Rullgard2012-01-311-3/+5
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Alex Converse <[email protected]>
| * | fate-golomb: extend golomb-test to get_ue_golomb_long()Janne Grunau2012-02-011-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | get_ue_golomb_long() is only tested for values up to 2^15 - 2 since we can not write larger values. Silence the test on success and return a non-zero value on error. Use an heap scratch buffer instead of large stack buffer. Remove unneeded includes.
* | | diracdec: Check for negative quants which would cause out of array reads.Michael Niedermayer2012-02-021-2/+8
| | | | | | | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>