Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-13opt: reject denominator zero as out of rangeAndreas Cadhalpun
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-11-23avutil/opt: Add AV_OPT_TYPE_UINT64Michael Niedermayer
Requested-by: wm4 ([FFmpeg-devel] [PATCH] avutil/opt: Support max > INT64_MAX in write_number() with AV_OPT_TYPE_INT64) Requested-by: ronald ([FFmpeg-devel] [PATCH] avutil/opt: Support max > INT64_MAX in write_number() with AV_OPT_TYPE_INT64) Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-21avutil/opt: Fix setting int64 to its maximumMichael Niedermayer
Found-by: Andreas Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-09avutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATEMichael Niedermayer
Fixes Ticket5618 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-11Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis
* commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-05-09libavutil/opt: add writing AV_OPT_TYPE_VIDEO_RATE AVOptionPrzemysław Sobala
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-06avutil/parsing: add '\r' as whitespaceMuhammad Faiz
for compatibility with platforms that treat it as newline Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-04-21Merge commit '3b08d9d932eef09403074d5af31e10d8011e840b'Derek Buitenhuis
* commit '3b08d9d932eef09403074d5af31e10d8011e840b': testprogs: K&R formatting cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-19Merge commit '564b4591bbe223bdc5f36a1131eaef103f23f5d0'Derek Buitenhuis
* commit '564b4591bbe223bdc5f36a1131eaef103f23f5d0': opt: Add av_opt_copy() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-07build: Split test programs off into separate filesDiego Biurrun
This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
2016-03-24testprogs: K&R formatting cosmeticsDiego Biurrun
2016-03-24opt: Add av_opt_copy()Michael Niedermayer
This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-03-24opt: Add const to av_opt_nextLukasz Marek
Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
2016-03-23opt-test: Merge struct declaration and initializationDiego Biurrun
2016-03-23opt-test: Move some variable declarations to avoid block bracesDiego Biurrun
2016-01-26avutil/opt: check for and handle errors in av_opt_set_dict2()Michael Niedermayer
Previously errors could result in random entries to be lost. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-07lavu/opt: enhance printing durations.Nicolas George
Trim unneeded leading components and trailing zeros. Move the formating code in a separate function. Use the function also to format the default value, it was currently printed as plain integer, inconsistent to the way it is parsed.
2015-10-26avutil/opt: print more meaningful default flags valuesClément Bœsch
Example: % ./ffmpeg -h encoder=gif [...] GIF encoder AVOptions: -gifflags <flags> E..V.... set GIF flags (default offsetting+transdiff) offsetting E..V.... enable picture offsetting transdiff E..V.... enable transparency detection between frames
2015-10-19avutil/opt: display a better default value for int/int64 optionsClément Bœsch
Example: % ./ffmpeg -h encoder=aac -aac_coder <int> E...A... Coding algorithm (from -1 to 3) (default twoloop) faac E...A... FAAC-inspired method anmr E...A... ANMR method twoloop E...A... Two loop searching method fast E...A... Constant quantizer [...]
2015-10-09lavu/opt: add flag to return NULL when applicable in av_opt_getRodger Combs
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-08avutil/opt: refactor pixel/sample fmt common caseClément Bœsch
2015-09-08avutil/opt: add AV_OPT_TYPE_BOOLClément Bœsch
2015-09-05lavu: Drop FF_API_GET_CHANNEL_LAYOUT_COMPAT cruftHendrik Leppkes
FATE refs changed to accomodate for the new default behavior of the function. Numbers are now interpreted as a channel layout, instead of a number of channels.
2015-09-05lavu: Drop old deprecated AVOption APIHendrik Leppkes
Deprecated in 2011/10
2015-09-05Remove FF_CONST_AVUTIL55 cruftHendrik Leppkes
2015-08-18Undeprecate av_opt_set_defaults2().Ronald S. Bultje
2015-05-03avutil/opt: Avoid division by 0Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-05avutil/opt: Do not print inf in selftestMichael Niedermayer
This fixes fate failures on windows Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/opt: also test av_opt_show2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/opt: Remove odd trailing whitespace bytes from flags help descriptionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/opt: Also test/compare the av_log output i the selftestMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-07avutil/opt: Fix type used to access AV_OPT_TYPE_SAMPLE_FMTMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-07avutil/opt: Fix types used to access AV_OPT_TYPE_PIXEL_FMTMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-06Merge commit '07a0c0f0005072d115ace61e60f46be68582cc3a'Michael Niedermayer
* commit '07a0c0f0005072d115ace61e60f46be68582cc3a': opt: check memory allocation Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-05opt: check memory allocationVittorio Giovara
CC: libav-stable@libav.org Bug-Id: CID 1257771
2014-12-19Merge commit 'b1306823d0b3ae998c8e10ad832004eb13bdd93e'Michael Niedermayer
* commit 'b1306823d0b3ae998c8e10ad832004eb13bdd93e': check memory errors from av_strdup() Conflicts: avprobe.c libavformat/matroskaenc.c libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-19check memory errors from av_strdup()Vittorio Giovara
2014-12-08avutil/opt: Fix AV_OPT_TYPE_BINARY case in av_opt_is_set_to_default()Michael Niedermayer
Fixes CID1257010 Reviewed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-07avutil/opt: Check av_parse_video_rate()s return valueMichael Niedermayer
Fixes CID1257008 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-07avutil/opt: Check av_parse_color() return valueMichael Niedermayer
Fixes: CID1257007 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-11-29lavu/opt: add escaping to av_opt_serializeLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-28lavu/opt: add consts where possibleLukasz Marek
2014-11-26lavu/opt: handle NULL obj in av_opt_nextLukasz Marek
It indirectly also fixes av_opt_free for NULL objs. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-16lavu/opt: introduce av_opt_serialize()Lukasz Marek
Function allows to create string containing object's serialized options. Such string may be passed back to av_set_options_string() in order to restore options. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-16lavu/opt: introduce av_opt_is_set_to_default()Lukasz Marek
New function allows to check if option is set to its default value Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-13lavu/opt: fix av_opt_get functionLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-13lavu/opt: fix memleak in testLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-11lavu/opt: update testsLukasz Marek
In general this commit prepares opt tests to be added to fate. The commit set some non-zero defaults for test options. It allows to check if defaults are really set. Added printing of default values. Added more cases for testing av_set_options_string Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-11lavu/opt: add support for binary defaultsLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2014-11-11lavu/opt: check for NULL before parsingLukasz Marek
set_string_binary crashes when called with val==NULL Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>