summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* Fix wrong use of "an" in some comments.Thilo Borgmann2013-08-12
|
* avutil/avstring: make const tables static constMichael Niedermayer2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/parseutils:make const tables static constMichael Niedermayer2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/ripemd:make const tables static constMichael Niedermayer2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/xtea: make const tables static constMichael Niedermayer2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/sha:make const tables static constMichael Niedermayer2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/sha512: make const tables static constMichael Niedermayer2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: fix grammar in doxy for av_frame_ref.Thilo Borgmann2013-08-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* bprint: Include va_copy compatDerek Buitenhuis2013-08-10
| | | | | | Fixes build with MSVC and ICL. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil/opt: make const tables static constMichael Niedermayer2013-08-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/opt: fix av_log typeMichael Niedermayer2013-08-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/log: Use bprint for partMichael Niedermayer2013-08-10
| | | | | | This should fix the issue with strings longer than 1024 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/bprint: add av_vbprintf()Michael Niedermayer2013-08-10
| | | | | Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-08-10
|\ | | | | | | | | | | | | * qatar/master: libavutil: Make avpriv_open a library-internal function on msvcrt Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: Make avpriv_open a library-internal function on msvcrtMartin Storsjö2013-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add one copy of the function into each of the libraries, similarly to what we do for log2_tab. When using static libs, only one copy of the file_open.o object file gets included, while when using shared libraries, each of them get a copy of its own. This fixes DLL builds with a statically linked C runtime, where each DLL effectively has got its own instance of the C runtime, where file descriptors can't be shared across runtimes. On systems not using msvcrt, the function is not duplicated. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'a76d0cdf21c3d9e464623cc0ad1c005abf952afa'Michael Niedermayer2013-08-10
|\| | | | | | | | | | | | | * commit 'a76d0cdf21c3d9e464623cc0ad1c005abf952afa': libavutil: Move avpriv_open to a new file, file_open.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: Move avpriv_open to a new file, file_open.cMartin Storsjö2013-08-10
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '33237123c83bf4f8345e6ac889ad2e7dbd303d0e'Michael Niedermayer2013-08-10
|\| | | | | | | | | | | | | * commit '33237123c83bf4f8345e6ac889ad2e7dbd303d0e': libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as well Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as ↵Martin Storsjö2013-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | well This used to only be necessary in static builds (when using the dynamically linked C runtime), since the _imp prefixed symbols do exist when linking to the actual DLL. When building testprogs, however, the current library (e.g. libavutil for some of the testprogs) is linked statically. This fixes make fate on DLL builds when using the dynamically linked C runtime. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Integrate accessors.h header into internal.hReimar Döffinger2013-08-10
| | | | | | | | | | | | | | I have no idea why I added a separate header, I think there is no good reason for it. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avutil/mem: Fix flipped conditionMichael Niedermayer2013-08-09
| | | | | | | | | | | | | | Fixes return code and later null pointer dereference Found-by: Laurent Butti <laurentb@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'dfc6b5c81491abf7effb97b23af17ccf7adcd132'Michael Niedermayer2013-08-09
|\| | | | | | | | | | | | | * commit 'dfc6b5c81491abf7effb97b23af17ccf7adcd132': file: Move win32 utf8->wchar open wrapper to libavutil Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * file: Move win32 utf8->wchar open wrapper to libavutilMartin Storsjö2013-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | When libavformat was changed to use the new avpriv_open function in 51eb213d001, this silently bypassed the existing wrapper for win32. Move the win32 wrapper into libavutil/file.c to make sure it gets called everywhere (not just in the libavformat case). This makes sure that non-ascii file names gets opened properly (where file names internally are stored as utf8, but they get converted to wchar_t and opened with _wsopen). Signed-off-by: Martin Storsjö <martin@martin.st>
| * libavutil: Don't use fcntl if the function does not existDerek Buitenhuis2013-08-08
| | | | | | | | | | | | | | Not all platforms have the function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Reduce MAKE_ACCESSORS code duplication via a new header.Reimar Döffinger2013-08-08
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge commit '880391ed2d2faf796ca3a16f63cec69767546a21'Michael Niedermayer2013-08-08
|\| | | | | | | | | | | | | | | | | | | * commit '880391ed2d2faf796ca3a16f63cec69767546a21': libavutil: use avpriv_open() Conflicts: libavutil/random_seed.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | libavutil: Don't use fcntl if the function does not existDerek Buitenhuis2013-08-08
| | | | | | | | | | | | | | Not all platforms have the function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '869b04e89154cd92d2bcfdabcecbe3217864c099'Michael Niedermayer2013-08-08
|\| | | | | | | | | | | | | * commit '869b04e89154cd92d2bcfdabcecbe3217864c099': libavutil: add avpriv_open() to open files with close-on-exec flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavutil: add avpriv_open() to open files with close-on-exec flagRémi Denis-Courmont2013-08-07
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avutil/opt: fix types passed to the format string "%s"Michael Niedermayer2013-08-08
| | | | | | | | | | | | | | | | Fixes gcc warnings Fixes CID1061056 Fixes CID1061057 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cigaes/master'Michael Niedermayer2013-08-07
|\ \ | | | | | | | | | | | | | | | | | | | | | * cigaes/master: ffmpeg: remove obsolete workaround in trim insertion. lavu/log: do not skip overwritten lines. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | lavu/log: do not skip overwritten lines.Nicolas George2013-08-07
| | | | | | | | | | | | | | | | | | If the line ends with \r, it will not flood the tty, and the "Last message repeated" line would overwrite it. Fix bug introduced by c25d1ba.
* | | av_frame_copy_props: fix unintended self assignmentMichael Niedermayer2013-08-07
|/ / | | | | | | | | | | Fixes CID1061052 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/hmac: make const tables static constMichael Niedermayer2013-08-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'a0ad5d011318f951ecd4c9ffe1829518c9533909'Michael Niedermayer2013-08-06
|\| | | | | | | | | | | | | | | | | | | * commit 'a0ad5d011318f951ecd4c9ffe1829518c9533909': vdpau: deprecate old codec-specific pixel formats Conflicts: libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vdpau: deprecate old codec-specific pixel formatsRémi Denis-Courmont2013-08-05
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '7950e519bb094897f957b9a9531cc60ba46cbc91'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7950e519bb094897f957b9a9531cc60ba46cbc91': Disable deprecation warnings for cases where a replacement is available Conflicts: libavcodec/avpacket.c libavcodec/pthread.c libavcodec/utils.c libavdevice/v4l2.c libavfilter/avfiltergraph.c libavfilter/buffersrc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-02
| |
* | Merge commit '3a7050ffed5ce061b114a11e4de4b77aba8efa0b'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | * commit '3a7050ffed5ce061b114a11e4de4b77aba8efa0b': build: Add _Pragma macro to disable deprecated declaration warnings Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * build: Add _Pragma macro to disable deprecated declaration warningsDiego Biurrun2013-08-02
| |
* | Merge commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e'Michael Niedermayer2013-08-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e': Give less generic names to global library option arrays Conflicts: libavcodec/options_table.h libavfilter/avfilter.c libavformat/options_table.h libswscale/options.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Give less generic names to global library option arraysDiego Biurrun2013-08-02
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-08-01
|\| | | | | | | | | | | | | * qatar/master: avframe: have av_frame_get_side_data take const AVFrame* Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avframe: have av_frame_get_side_data take const AVFrame*Vittorio Giovara2013-08-01
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'c7e921a54ffe7feb9f695c82f0a0764ab8d0f62b'Michael Niedermayer2013-08-01
|\| | | | | | | | | | | | | | | | | | | * commit 'c7e921a54ffe7feb9f695c82f0a0764ab8d0f62b': avopt: Check whether the object actually has got an AVClass Conflicts: libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Check whether the object actually has got an AVClassMartin Storsjö2013-07-31
| | | | | | | | | | | | | | | | | | | | AVIOContext has got an av_class member that only gets set if opening the context using avio_open2, but not if allocating a custom IO context. A caller that wants to read AVOptions from an AVIOContext (recursively using AV_OPT_SEARCH_CHILDREN) may not know if the AVIOContext actually has got a class set or not. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avutil/tree: fix memleaksMichael Niedermayer2013-08-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'c2e936de07d054bf476e60445b453bf6b4836820'Michael Niedermayer2013-08-01
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'c2e936de07d054bf476e60445b453bf6b4836820': tree-test: Refactor and plug memory leaks Conflicts: libavutil/tree.c Most of this commit is not merged due to bugs in it Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * tree-test: Refactor and plug memory leaksDiego Biurrun2013-07-31
| | | | | | | | With the most annoying memory leak found by Derek Buitenhuis.