summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* opt: attempt to improve options dump output.Clément Bœsch2013-03-31
| | | | Add some indent and remove the '-' prefix for filters.
* lavu/samplefmt: add av_samples_alloc_array_and_pointers()Stefano Sabatini2013-03-31
|
* avutil: add av_buffer_get_ref_count()Michael Niedermayer2013-03-30
| | | | | | This function is quite usefull for debuging Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/buffer: add get_opaqueXidorn Quan2013-03-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'cf53704c55378cc0dcfc16637cdac7d58f0b3107'Michael Niedermayer2013-03-28
|\ | | | | | | | | | | | | | | | | | | | | | | * commit 'cf53704c55378cc0dcfc16637cdac7d58f0b3107': AVOptions: make av_set_options_string() forward options to child objects win32: Use 64-bit fstat/lseek variants for MSVC as well win32: Make ff_win32_open more robust Conflicts: libavformat/os_support.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: make av_set_options_string() forward options to child objectsAnton Khirnov2013-03-28
| |
* | Merge commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa'Michael Niedermayer2013-03-28
|\| | | | | | | | | | | | | | | | | | | * commit 'b6649ab5037fb55f78c2606f3d23cea0867cdeaa': cosmetics: Remove unnecessary extern keywords from function declarations Conflicts: libswscale/x86/swscale.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
| |
* | avutil/buffer: remove redundant memory poisoningMichael Niedermayer2013-03-24
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/buffer: support memory poisoningMichael Niedermayer2013-03-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Make audio FIFO read/write contracts more strictMichael Bradshaw2013-03-23
| | | | | | | | | | Signed-off-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '1e8b9738fa70e20967ddb542d2f9d5552fc51ec6'Michael Niedermayer2013-03-23
|\| | | | | | | | | | | | | * commit '1e8b9738fa70e20967ddb542d2f9d5552fc51ec6': avutil/frame: add all remaining frame properties to av_frame_copy_props Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil/frame: add all remaining frame properties to av_frame_copy_propsHendrik Leppkes2013-03-22
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | lavu/eval: add between() function.Clément Bœsch2013-03-22
| |
* | lavu/opt: add AV_OPT_TYPE_DURATION.Nicolas George2013-03-20
| |
* | Merge remote-tracking branch 'cigaes/master'Michael Niedermayer2013-03-20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * cigaes/master: lavu/frame: use channels rather than channel_layout. lavf: avformat_seek_file(): validate stream_index. lavf/concatdec: fix possible leak in case of malloc failure. lavfi/buffersink: check av_frame_ref() failure. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavu/frame: use channels rather than channel_layout.Nicolas George2013-03-20
| | |
* | | avutil/atomic: use av_assert0()Michael Niedermayer2013-03-20
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avutil: fix compilationMichael Niedermayer2013-03-20
|/ / | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/opt: add AV_OPT_VIDEO_RATE optionPaul B Mahol2013-03-20
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '2c328a907978b61949fd20f7c991803174337855'Michael Niedermayer2013-03-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2c328a907978b61949fd20f7c991803174337855': pixdesc: add a function for counting planes in a pixel format. avplay: remove the -debug option. Revert "asfenc: return error on negative timestamp" Conflicts: doc/APIchanges doc/ffplay.texi ffplay.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pixdesc: add a function for counting planes in a pixel format.Anton Khirnov2013-03-19
| |
* | avutil/add_to_pool: remove unused assgnmentMichael Niedermayer2013-03-19
| | | | | | | | | | Fixed CID991859 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | AVFrame.pkt_dts: improve docsMichael Niedermayer2013-03-19
| | | | | | | | | | | | Related to Ticket2375 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/buffer: Fix race in pool.Michael Niedermayer2013-03-18
| | | | | | | | | | | | | | | | | | | | This race will always happen sooner or later in a multi-threaded environment and it will over time lead to OOM. This fix works by spinning, there are other ways by which this can be fixed, like simply detecting the issue after it happened and freeing the over-allocated memory or simply using a mutex. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc,lavu: fix two doxy mixup between h/v chroma shift.Clément Bœsch2013-03-18
| |
* | avutil/frame: typoMichael Niedermayer2013-03-18
| | | | | | | | | | found by ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/frame: document alignment and padding requirementsMichael Niedermayer2013-03-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/get_pool: remove dead operations whichs result is never used.Michael Niedermayer2013-03-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/get_pool: Remove redundant initial atomic operationMichael Niedermayer2013-03-17
| | | | | | | | | | | | 602->442 dezicycles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/frame: fix video buffer allocationMichael Niedermayer2013-03-17
| | | | | | | | | | | | | | | | The padding was lost during porting from avcodec Should fix out of array accesses Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/eval: add bitor and bitand functionsStefano Sabatini2013-03-17
| | | | | | | | Warning note suggested by Reimar.
* | Merge commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b'Michael Niedermayer2013-03-16
|\| | | | | | | | | | | | | | | | | | | | | * commit 'e4a7b2177d14678ae240edcabaacfe2b14619b7b': vf_showinfo: remove its useless init function AVOptions: fix using named constants with child contexts. Conflicts: libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: fix using named constants with child contexts.Anton Khirnov2013-03-16
| | | | | | | | | | The named constant needs to be searched for in the same object on which the option is set, i.e. target_obj.
| * AVOption: remove an unused function parameter.Anton Khirnov2013-03-16
| |
* | Merge commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6'Michael Niedermayer2013-03-16
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'ca6c3f2c53be70aa3c38e8f1292809db89ea1ba6': lzo: fix overflow checking in copy_backptr() flacdec: simplify bounds checking in flac_probe() atrac3: avoid oversized shifting in decode_bytes() Conflicts: libavformat/flacdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lzo: fix overflow checking in copy_backptr()Xi Wang2013-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | The check `src > dst' in the form `&c->out[-back] > c->out' invokes pointer overflow, which is undefined behavior in C. Remove the check. Also replace `&c->out[-back] < c->out_start' with a safe form `c->out - c->out_start < back' to avoid overflow. CC: libav-stable@libav.org Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avutil/frame: add AVBufferRef for qp tableMichael Niedermayer2013-03-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8'Michael Niedermayer2013-03-14
|\| | | | | | | | | | | | | | | * commit 'f099d3d1d5466bd63f4ab36270d169ff9ea613b8': Add av_log_{ask_for_sample|missing_feature} replacements to libavutil ismindex: Check the return value of allocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add av_log_{ask_for_sample|missing_feature} replacements to libavutilDiego Biurrun2013-03-13
| | | | | | | | | | This allows reporting missing features and requesting samples from all libraries in a standard way; with a simplified API.
* | lavu/frame: free frame metadata when unrefing a frame.Hendrik Leppkes2013-03-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/frame: av_frame_make_writable: set the channels on the new frame.Hendrik Leppkes2013-03-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/frame: copy all frame properties in av_frame_copy_propsHendrik Leppkes2013-03-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avframe: Copy buffer type in copy_props.Carl Eugen Hoyos2013-03-13
| | | | | | | | Fixes VDPAU decoding with MPlayer.
* | Merge commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d'Michael Niedermayer2013-03-13
|\| | | | | | | | | | | | | | | | | | | | | * commit 'd6d369bf1370999896500ae7eb5b9447ab635a3d': atomic: prefer gcc builtins over win32 atomics, if available. avframe: copy reordered_opaque in copy_props Conflicts: libavutil/frame.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * atomic: prefer gcc builtins over win32 atomics, if available.Hendrik Leppkes2013-03-11
| | | | | | | | | | | | | | The mingw win32 atomics appear to be faulty, so they should not be used if the gcc ones are available. Signed-off-by: Martin Storsjö <martin@martin.st>
| * avframe: copy reordered_opaque in copy_propsJanne Grunau2013-03-11
| | | | | | | | Fixes video playback in applications still using reordered_opaque.
* | Merge commit '6327c10702922eabcb1c6170abd3f03d23ce4c51'Michael Niedermayer2013-03-12
|\| | | | | | | | | | | | | | | | | * commit '6327c10702922eabcb1c6170abd3f03d23ce4c51': atomic: fix CAS with armcc. png: use av_mallocz_array() for the zlib zalloc function libmp3lame: use the correct remaining buffer size when flushing Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * atomic: fix CAS with armcc.Anton Khirnov2013-03-09
| | | | | | | | | | | | On the current code, armcc will fail with: "libavutil/atomic_gcc.h", line 52: Error: #2771: first argument must be a pointer to integer or enumeration type
* | Merge commit '666fe5da47d127074be7f0e2bac93db6af8b4a30'Michael Niedermayer2013-03-12
|\| | | | | | | | | | | | | | | | | | | | | * commit '666fe5da47d127074be7f0e2bac93db6af8b4a30': atomic: Exclude the unsupported implementation headers from checkheaders avconv: do not silently ignore unused codec AVOptions. Conflicts: ffmpeg_opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>