summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avutil/error: list most common error code in error_entries when strerror_r() ↵Michael Niedermayer2015-02-10
| | | | | | | | is unavailable Fixes Ticket4267 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests: drop bc dependencyClément Bœsch2015-02-10
| | | | | We already have a dependency on awk and bc is sometimes not found in the base system.
* avfilter: Add repeatfields filter (Port of mp=softpulldown)Paul B Mahol2015-02-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil: camellia: remove unwanted memory loadsSupraja Meedinti2015-02-10
| | | | | | lavu CAMELLIA size: 1048576 runs: 1024 time: 21.549 +- 0.17 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavformat: DNxHD in .mov, switch unspecified color_range to mpegKevin Wheatley2015-02-10
| | | | | | | | | | Avid prefers mpeg range [16-235] by default this change brings ffmpeg into line with that. To obtain the old behaviour use '-color_range jpeg' on the command line prior to the ouput filename. Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* pixdesc: clarify AV_PIX_FMT_FLAG_ALPHA doxygenwm42015-02-10
| | | | | | Also make clear that PAL8 can have alpha. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil: check pixdescs in a different placewm42015-02-10
| | | | | | | | | | | | | | | | Doing this check in avutil_version() is not appropriate. Also, this code is by default disabled (--assert-level is by default 0). A FATE run with defaults will never execute the checks. Move it to the pixelutils test program. Whatever reason there was in avutil_version() not to run this test by default, it should be fine in this test program. This means FATE will run the test by default. (Yes, pixelutils is not strictly the best place for it either, but it's better.) (pixdesc.c also has a small test program, but it's never run by FATE.) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil: move internal function out of public headerwm42015-02-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: fix clobbered ff_get_buffer()Paul B Mahol2015-02-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* test/fate: added mxf_opatom regression testsMark Reid2015-02-10
| | | | | Reviewed-by: tomas.hardin@codemill.se Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mss4: use av_malloc_array()Paul B Mahol2015-02-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/huffman: check if map was allocated tooPaul B Mahol2015-02-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/hevc_parser: check for av_mallocz() failurePaul B Mahol2015-02-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* examples/demuxing_decoding: abort decoding when width, height or pix_fmt changeAndreas Cadhalpun2015-02-10
| | | | | | | | | | | | | | This is necessary, because avcodec_decode_video2 can change width, height and/or pixel format of the AVCodecContext. Since video_dst_data and video_dst_linesize are not updated by calling av_image_alloc again, av_image_copy[_plane] asserts, because the destination buffer is too small. In this case, creating a useable rawvideo is not possible anyway, since it has fixed width/height/pix_fmt. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86/hevc_sao: make sao_band_filter work on x86_32James Almer2015-02-09
| | | | | Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/camellia: Remove redundant castsMichael Niedermayer2015-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/camellia: Fix indention & whitespaceMichael Niedermayer2015-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil: optimize camellia cipherSupraja Meedinti2015-02-09
| | | | | | | | | | | | Before the changes : lavu CAMELLIA size: 1048576 runs: 1024 time: 32.541 +- 0.044 After the changes: lavu CAMELLIA size: 1048576 runs: 1024 time: 24.589 +- 0.066 Tested with crypto_bench on a Linux x86_64 OS with Intel Core i5-3210M CPU. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* matroska: don't complain about unknown elementswm42015-02-09
| | | | | | | | | | | | Matroska is an extensible format - unknown elements must be expected. It shouldn't complain about such elements to the user either; it'll just generate noise. The "error_recognition & AV_EF_EXPLODE" is completely, wrong why would it explode on valid files? It's still useful for debugging, so the message is left in place with a higher log level. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/utils: Fix division by 0Michael Niedermayer2015-02-09
| | | | | | | Fixes: signal_sigsegv_14999ef_1188_cov_2888512890_SVA_CL1_E.264 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/sgienc: return meaningful error codePaul B Mahol2015-02-09
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mov: Check dimensions before setting aspectMichael Niedermayer2015-02-09
| | | | | | | | Fixes division by 0 Fixes: asan_heap-uaf_143f420_728_cov_1441472032_HDV_0113.MP4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample/x86/rematrix_init: Check av_malloc* return codes, forward errorsMichael Niedermayer2015-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample/x86/rematrix_init: Use av_mallocz_array()Michael Niedermayer2015-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/vb: Check for av_mallocz() failureMichael Niedermayer2015-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/f_sendcmd: consider it an error if there are no commandsMichael Niedermayer2015-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/indevs: Docs for Blackmagic high bit depth video/audioGeorg Lippitsch2015-02-09
| | | | | Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* hevcdsp: ARM NEON optimized transformsSeppo Tomperi2015-02-08
| | | | | | cherry picked from commit b153f55935969c794de4640f8d34e01c58e027ae Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86: hevc_mc: remove lea in EPEL_LOADChristophe Gisquet2015-02-08
| | | | | | | The second parameter to the macro is always an immediate address, so no lea is needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86: hevc_mc: fewer gpr autoloads for _v filtersChristophe Gisquet2015-02-08
| | | | | | In that case, it's just to load my, but mx/r3src is not used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/APIchanges: updated Data stream changes in APIChangeAnshul Maheshwari2015-02-08
| | | | | Signed-off-by: Anshul Maheshwari <er.anshul.maheshwari@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2015-02-08
|\ | | | | | | | | | | | | * cehoyos/master: Fix standalone compilation of the mov muxer with --disable-optimizations. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix standalone compilation of the mov muxer with --disable-optimizations.Carl Eugen Hoyos2015-02-08
| | | | | | | | Reported-by: Bernhard Döbler
* | avfilter/hqdn3d: an invalid bit depth means a bug, not invalid read dataClément Bœsch2015-02-08
| | | | | | | | This code looks clumsy, and an assert would probably be more welcome.
* | avformat/internal: fix av_interleaved_write_frame typo referenceClément Bœsch2015-02-08
| |
* | avfilter/dctdnoiz: fix slice_h computationClément Bœsch2015-02-08
| | | | | | | | | | | | | | ceilf() can only work if the reminder of the division is not 0. This fixes memory errors with for instance: ffmpeg -f lavfi -i testsrc=s=800x500 -threads 3 -vf dctdnoiz -frames:v 1 -f null -
* | avformat/mxfenc: Remove unused variablesMichael Niedermayer2015-02-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi/subtitles: add force_style optionEejya Singh2015-02-08
| | | | | | | | | | Signed-off-by: Eejya Singh <singh.eejya@gmail.com> Signed-off-by: Clément Bœsch <u@pkh.me>
* | avdevice/decklink_common: Use defined(__APPLE__) instead of __APPLE__Michael Niedermayer2015-02-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/vp9dsp: fix clobbering of xmm6 on IDCT sse2 functionsJames Almer2015-02-08
| | | | | | | | | | Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avdevice/decklink_common: Fix Decklink for MacGeorg Lippitsch2015-02-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avdevice/decklink: 10 Bit support for Decklink input deviceGeorg Lippitsch2015-02-08
| | | | | | | | | | | | | | Example to capture video clip at 1080i50 10 bit: ffmpeg -bm_v210 1 -f decklink -i 'UltraStudio Mini Recorder@11' -acodec copy -vcodec copy output.avi Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavformat/mxfenc.c: added mxf opatom muxerMark Reid2015-02-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2015-02-08
|\| | | | | | | | | | | | | | | * cehoyos/master: Support decoding yuv dpx images. Do not use -mdynamic-no-pic on OSX x86_64. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Support decoding yuv dpx images.Carl Eugen Hoyos2015-02-08
| |
| * Do not use -mdynamic-no-pic on OSX x86_64.Carl Eugen Hoyos2015-02-08
| | | | | | | | Fixes default compilation with icc.
* | avcodec/utils: Assert that dst->progress is clear before ff_thread_ref_frame()Michael Niedermayer2015-02-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h264: Setup decoder to have matching reference to the EC codeMichael Niedermayer2015-02-08
| | | | | | | | | | | | | | | | | | Also move EC ref initialization to where the EC code is called. Fixes out of array read Fixes: asan_heap-uaf_143f420_142_20110805_112659_ch0.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h264: Move COPY_PICTURE() to h264.h so it can be used from other ↵Michael Niedermayer2015-02-08
|/ | | | | | parts of the h264 decoder Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/omadec: Subtract headersize in timestamp calculationMichael Niedermayer2015-02-07
| | | | | | Fixes pts/dts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>