aboutsummaryrefslogtreecommitdiff
path: root/libavresample
AgeCommit message (Collapse)Author
2018-01-09avresample: remove deprecated attribute from the AVAudioResampleContext structJames Almer
Having all the public functions marked as deprecated is enough. This gets rid of a warning spam when compiling any file including libavresample/avresample.h even when avresample is not enabled, like it's the case with fftools/cmdutils.c Signed-off-by: James Almer <jamrial@gmail.com>
2018-01-04lavr: deprecate the entire libraryRostislav Pehlivanov
Deprecate the entire library. Merged years ago to provide compatibility with Libav, it remained unmaintained by the FFmpeg project and duplicated functionality provided by libswresample. In order to improve consistency and reduce attack surface, as well as to ease burden on maintainers, it has been deprecated. Users of this library are asked to migrate to libswresample, which, as well as providing more functionality, is faster and has higher accuracy. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-10-21Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5'James Almer
* commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5': Bump major versions of all libraries A few API deprecated ~2 years ago or more are also postponed here for varying reasons. FF_API_LOWRES: Since this functionality depends on AVStream->codec, i figure the two can be removed at the same time in the next bump or so. FF_API_AVCTX_TIMEBASE: Couldn't get this one to work. Not just libavcodec but apparently also libavformat and ffmpeg.c expect AVCodecContext->time_base to be set for decoding. Upon removal some tests report a different generic stream time base (like 1/25), and others lose packet duration values. I guess it's somehow tied to the AVStream->codec clusterfuck. It can be dealt with alongside FF_API_LAVF_AVCTX in the next bump. FF_API_OLD_FILTER_OPTS_ERROR: This one is meant to remain after FF_API_OLD_FILTER_OPTS is removed. Its purpose is displaying the corrected command line using the new syntax as a suggestion as part of the error message. Merged-by: James Almer <jamrial@gmail.com>
2017-10-11Bump version for master after 3.4 branchpointMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-11Bump minor versions for branching 3.4Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-21build: Generalize yasm/nasm-related variable namesDiego Biurrun
None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
2017-05-04Merge commit '92db5083077a8b0f8e1050507671b456fd155125'James Almer
* commit '92db5083077a8b0f8e1050507671b456fd155125': build: Generate pkg-config files from Make and not from configure build: Store library version numbers in .version files Includes cherry-picked commits 8a34f3659371680ca523aecfd9098c28f0f809eb and ee164727dd64c199b87118917e674b17c25e0da3 to fix issues. Changes were also made to retain support for raise_major and build_suffix. Reviewed-by: ubitux Merged-by: James Almer <jamrial@gmail.com>
2017-04-03Merge commit 'a1d9de304fe63614e3aa8117fef17491fa80093d'Clément Bœsch
* commit 'a1d9de304fe63614e3aa8117fef17491fa80093d': Fix some mismatches between function parameter and doxygen parameter names. Merged-by: Clément Bœsch <u@pkh.me>
2017-04-02Bump versions for master after 3.3Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-04-02Bump minor for 3.3Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-31Bump minor versions for master after release/3.3 branchpointMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-31Bump minor versions for staring release/3.3 branchMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-23Bump major versions of all librariesVittorio Giovara
This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-03-01build: Generalize yasm/nasm-related variable namesDiego Biurrun
None of them are specific to the YASM assembler.
2017-02-01Mark some arrays that never change as const.Anton Khirnov
2016-12-22build: Generate pkg-config files from Make and not from configureDiego Biurrun
This moves work from the configure to the Make stage where it can be parallelized and ensures that pkgconfig files are updated when library versions change. Bug-Id: 449
2016-11-21Fix some mismatches between function parameter and doxygen parameter names.Diego Biurrun
2016-10-26Bump minor versions after 3.2 branchpoint to seperate releaseMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-26Bump minor versions for 3.2Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-02doxygen: Standardize root-level modulesTimothy Gu
2016-06-27Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'Matthieu Bouron
* commit '535a742c2695a9e0c586b50d7fa76e318232ff24': build: Change structure of the linker version script templates Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
2016-06-22Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'Clément Bœsch
* commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196': tests: Move all test programs to a subdirectory Merged-by: Clément Bœsch <clement@stupeflix.com>
2016-06-21Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
2016-05-29build: Change structure of the linker version script templatesDiego Biurrun
Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
2016-05-13tests: Move all test programs to a subdirectoryDiego Biurrun
2016-05-09Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec'Derek Buitenhuis
* commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec': build: miscellaneous cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-04-07build: miscellaneous cosmeticsDiego Biurrun
Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
2016-01-02Merge commit 'cc4c24208159200b7aff5b5c313903c7f23fa345'Hendrik Leppkes
* commit 'cc4c24208159200b7aff5b5c313903c7f23fa345': avresample: Mark avresample_buffer() as pointer to const Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-14avresample: Mark avresample_buffer() as pointer to constKip Warner
That buffer is read only and marking it accordingly let the user passing a constant buffer to it without having a const-correctness warning. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-11-10Merge commit 'e2854e731f843906d9a9a5b882bed872341999fd'Hendrik Leppkes
* commit 'e2854e731f843906d9a9a5b882bed872341999fd': avresample: Document avresample_open() a little better Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-11-05avresample: Document avresample_open() a little betterLuca Barbato
Bug-Id: 911
2015-09-29avresample: Remove an unused variableGanesh Ajjanagadde
This fixes a -Wunused-variable warning. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-19avresample/resample: remove unused variableGanesh Ajjanagadde
This fixes a -Wunused-variable, see e.g http://fate.ffmpeg.org/log.cgi?time=20150919162338&log=compile&slot=x86_64-archlinux-gcc-threads. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-16Merge commit 'c7247eb7fe2b95803983e8f7c4f0e904f050ca7b'Hendrik Leppkes
* commit 'c7247eb7fe2b95803983e8f7c4f0e904f050ca7b': lavr: Remove unreachable code Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-13lavr: Remove unreachable codeVittorio Giovara
Bug-Id: CID 1323180
2015-09-07Merge commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0'Hendrik Leppkes
* commit '9a003fc38833b6b9f08e44d7f1c6539db65840a0': lavr: Remove unused label Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05Merge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'Hendrik Leppkes
* commit 'e88103a7f92cf27a2868b50acc8a9912f6088249': Bump major versions of all libraries Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05Merge commit '11b2eed43e91b35b8295ed47115cae2e29bd687d'Hendrik Leppkes
* commit '11b2eed43e91b35b8295ed47115cae2e29bd687d': lavr: Drop deprecated context reinitialization if resampling was not enabled Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-08-31lavr: Remove unused labelVittorio Giovara
2015-08-28Bump major versions of all librariesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-08-28lavr: Drop deprecated context reinitialization if resampling was not enabledVittorio Giovara
Deprecated in 11/2012.
2015-08-11x86inc: Drop SECTION_TEXT macroHenrik Gramner
The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-08-04x86inc: Drop SECTION_TEXT macroHenrik Gramner
The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
2015-06-01Merge commit 'd68c05380cebf563915412182643a8be04ef890b'Michael Niedermayer
* commit 'd68c05380cebf563915412182643a8be04ef890b': x86: check for AV_CPU_FLAG_AVXSLOW where useful See: c16e99e3b3c02edcf33245468731d414eab97dac Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-31x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-29Merge commit '0ac8ff618c5e6d878c547a8877e714ed728950ce'Michael Niedermayer
* commit '0ac8ff618c5e6d878c547a8877e714ed728950ce': avresample: Reallocate the internal buffer to the correct size Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-28avresample: Reallocate the internal buffer to the correct sizeLuca Barbato
Fixes the corner case in which the internal buffer size is larger than input buffer provided and resizing it before moving the left over samples would make it write to now unallocated memory. Bug-Id: 825 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-20Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8'Michael Niedermayer
* commit '1a3eb042c704dea190c644def5b32c9cee8832b8': Replace av_dlog with normal av_log at trace level Conflicts: ffplay.c libavdevice/fbdev_dec.c libavfilter/avfilter.c libavfilter/internal.h libavfilter/setpts.c libavfilter/src_movie.c libavfilter/vf_crop.c libavfilter/vf_drawtext.c libavfilter/vf_fieldorder.c libavformat/assdec.c libavformat/avidec.c libavformat/flvdec.c libavformat/http.c libavformat/ipmovie.c libavformat/isom.c libavformat/mov.c libavformat/mpegenc.c libavformat/mpegts.c libavformat/mpegtsenc.c libavformat/mux.c libavformat/mxfdec.c libavformat/nsvdec.c libavformat/oggdec.c libavformat/r3d.c libavformat/rtspdec.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-19Replace av_dlog with normal av_log at trace levelVittorio Giovara
This applies to every library where performance is not critical.