summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avformat_new_stream: fix initial last_dts valueMichael Niedermayer2012-03-08
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mxfdec: Add intra_only flag to MXFTrackTomas Härdin2012-03-08
| | | | | | This allows future assumptions to be made without affecting non-intra files. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mxfdec: Fix Avid AirSpeed files being misinterpreted as OP1aTomas Härdin2012-03-08
| | | | | | | | The "ECs != 1 -> OP1a" assumption was wrong. Luckily, the file that triggered that behavior had two ECs, not zero. Hence distinguishing between them is simple in this case. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mxfdec: Truncate packets that extend past the next edit unitTomas Härdin2012-03-08
| | | | | | | This fixes rare cases where OPAtom may be treated as OP1a, causing all essence to be read into RAM. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil: document av_force_cpu_flags(-1).Michael Niedermayer2012-03-08
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffmpeg: show fps more accurately when it is small.Nicolas George2012-03-08
|
* swr: special case for empty channels in rematrix.Nicolas George2012-03-07
| | | | Speed += 10% overall for pan=stereo:FL=FL+FR from wav to null.
* vf_yadif: accept input with several frames available.Nicolas George2012-03-07
| | | | Fixes ticket #1040.
* ass_split: accept files with only \n and no \r.Nicolas George2012-03-07
| | | | | | The +1 is there to skip the ','. With \r\n, the +1 skips the \r but that is ok. With only \n, the +1 skips it and all hell breaks loose.
* assdec: avoid a possible NULL dereference.Nicolas George2012-03-07
|
* ffv1: PIX_FMT_YUV444P10 supportPaul B Mahol2012-03-07
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffv1: PIX_FMT_YUV444P9 & PIX_FMT_YUV422P9 supportPaul B Mahol2012-03-07
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "error_resilience: initialize s->block_index[]."Michael Niedermayer2012-03-07
| | | | | | This reverts commit 6193ff68549ecbaf1a4d63a0e06964ec580ac620. This change is unneeded.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-07
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: SBR DSP: fix SSE code to not use SSE2 instructions. cpu: initialize mask to -1, so that by default, optimizations are used. error_resilience: initialize s->block_index[]. svq3: protect against negative quantizers. Don't use ff_cropTbl[] for IDCT. swscale: make filterPos 32bit. FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option. avconv: add -cpuflags option for setting supported cpuflags. cpu: add av_set_cpu_flags_mask(). libx264: Allow overriding the sliced threads option avconv: fix counting encoded video size. Conflicts: doc/APIchanges doc/fate.texi doc/ffmpeg.texi ffmpeg.c libavcodec/h264idct_template.c libavcodec/svq3.c libavutil/avutil.h libavutil/cpu.c libavutil/cpu.h libswscale/swscale.c tests/Makefile tests/fate-run.sh tests/regression-funcs.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * SBR DSP: fix SSE code to not use SSE2 instructions.Reimar Döffinger2012-03-06
| | | | | | | | | | | | | | | | movq from SSE register _to_ memory is an SSE2 instruction. Use the SSE movlps function instead that does the same thing. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * cpu: initialize mask to -1, so that by default, optimizations are used.Ronald S. Bultje2012-03-06
| |
| * error_resilience: initialize s->block_index[].Ronald S. Bultje2012-03-06
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * svq3: protect against negative quantizers.Ronald S. Bultje2012-03-06
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * Don't use ff_cropTbl[] for IDCT.Ronald S. Bultje2012-03-06
| | | | | | | | | | | | | | | | Results of IDCT can by far outreach the range of ff_cropTbl[], leading to overreads and potentially crashes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * swscale: make filterPos 32bit.Ronald S. Bultje2012-03-06
| | | | | | | | | | | | | | Fixes overflows for large image sizes. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.Anton Khirnov2012-03-06
| |
| * avconv: add -cpuflags option for setting supported cpuflags.Anton Khirnov2012-03-06
| | | | | | | | Useful for testing.
| * cpu: add av_set_cpu_flags_mask().Anton Khirnov2012-03-06
| |
| * libx264: Allow overriding the sliced threads optionMartin Storsjö2012-03-06
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * avconv: fix counting encoded video size.Anton Khirnov2012-03-06
| | | | | | | | | | avcodec_encode_video2() return value is 0 on success, encoded frame size is stored in the packet.
* | lavc/utils: fix const correctness of AVClass castMichael Niedermayer2012-03-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/utils: remove unused variable from avcodec_encode_video2.Michael Niedermayer2012-03-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mjpegenc: Fix const correctness and avoid writes into AVFrame of ↵Michael Niedermayer2012-03-07
| | | | | | | | | | | | amv_encode_picture() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264 Fix: "warning: assigning to 'uint8_t *' (aka 'unsigned char *') from ↵Michael Niedermayer2012-03-07
| | | | | | | | | | | | 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264: fix warning about "uint8_t *p" and constMichael Niedermayer2012-03-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | cook: silence some signed overflow warnings.Michael Niedermayer2012-03-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: remove duplicate PIX_FMT_GBRP entry from format_entries.Michael Niedermayer2012-03-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vsrx_mptestsrc: remove duplicate config_props init.Michael Niedermayer2012-03-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacdec: Fix out of array writes (stack).Michael Niedermayer2012-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue in the code to check the size that will be written to match the actual code writing. In the long term it would make sense to change this so the counting and writing code are the same so they dont need to be kept in sync. It also increases the array size, which was too small either way and adds a redudnant saftey check. This issue does not affect any FFmpeg release as it has been introduced Jan 31 which is narrowly after our last release. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix bink decoder for files with 24px width.Bastien Bouclet2012-03-06
| | | | | | | | Fixes ticket #962.
* | 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>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (31 commits) cdxl demux: do not create packets with uninitialized data at EOF. Replace computations of remaining bits with calls to get_bits_left(). amrnb/amrwb: Remove get_bits usage. cosmetics: reindent avformat: do not require a pixel/sample format if there is no decoder avformat: do not fill-in audio packet duration in compute_pkt_fields() lavf: Use av_get_audio_frame_duration() in get_audio_frame_size() dca_parser: parse the sample rate and frame durations libspeexdec: do not set AVCodecContext.frame_size libopencore-amr: do not set AVCodecContext.frame_size alsdec: do not set AVCodecContext.frame_size siff: do not set AVCodecContext.frame_size amr demuxer: do not set AVCodecContext.frame_size. aiffdec: do not set AVCodecContext.frame_size mov: do not set AVCodecContext.frame_size ape: do not set AVCodecContext.frame_size. rdt: remove workaround for infinite loop with aac avformat: do not require frame_size in avformat_find_stream_info() for CELT avformat: do not require frame_size in avformat_find_stream_info() for MP1/2/3 avformat: do not require frame_size in avformat_find_stream_info() for AAC ... Conflicts: doc/APIchanges libavcodec/Makefile libavcodec/avcodec.h libavcodec/h264.c libavcodec/h264_ps.c libavcodec/utils.c libavcodec/version.h libavcodec/x86/dsputil_mmx.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cdxl demux: do not create packets with uninitialized data at EOF.Reimar Döffinger2012-03-05
| | | | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
| * Replace computations of remaining bits with calls to get_bits_left().Alex Converse2012-03-05
| |
| * amrnb/amrwb: Remove get_bits usage.Alex Converse2012-03-05
| | | | | | | | | | It is used to parse fixed sized fields out of a single octet. The code is simpler without it.
| * cosmetics: reindentJustin Ruggles2012-03-05
| |
| * avformat: do not require a pixel/sample format if there is no decoderJustin Ruggles2012-03-05
| | | | | | | | | | | | | | | | Also, do not keep trying to find and open a decoder in try_decode_frame() if we already tried and failed once. Fixes always searching until max_analyze_duration in avformat_find_stream_info() when demuxing codecs without a decoder.
| * avformat: do not fill-in audio packet duration in compute_pkt_fields()Justin Ruggles2012-03-05
| | | | | | | | Use the estimated duration only to calculate missing timestamps if needed.
| * lavf: Use av_get_audio_frame_duration() in get_audio_frame_size()Justin Ruggles2012-03-05
| | | | | | | | | | | | | | | | | | | | Also, do not give AVCodecContext.frame_size priority for muxing. Updated 2 FATE references: dxa-feeble - adds 1 audio frame that is still within 2 seconds as specified by -t 2 in the FATE test wmv8-drm-nodec - durations are not needed. previously they were estimated using the packet size and average bit rate.
| * dca_parser: parse the sample rate and frame durationsJustin Ruggles2012-03-05
| |
| * libspeexdec: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | | | | | It is not necessary
| * libopencore-amr: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | | | | | It is not necessary
| * alsdec: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | | | | | It is not necessary
| * siff: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | | | | | | | also, properly set AVCodecContext.bits_per_coded_sample, AVStreasm.start_time, and AVPacket.duration.
| * amr demuxer: do not set AVCodecContext.frame_size.Justin Ruggles2012-03-05
| | | | | | | | it is not necessary.