summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lav*,tests: remove several register_all callsJosh de Kock2018-04-02
| | | | | | | avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavf/format: use const AVInputFormat for iterationJosh de Kock2018-04-02
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* Revert "avformat/format: temporarily use old next api"Josh de Kock2018-04-02
| | | | | | | | | This reverts commit 909e00ae816df9b6a05b1c4d0cafb794d4d0ca28. There is no need to use the old API anymore as the new API now behaves in the same way (treating devices as formats when loaded). Signed-off-by: Josh de Kock <josh@itanimul.li>
* avfilter: bump version for the latest API changeJames Almer2018-04-01
| | | | | | And fix the entry in doc/APIchanges Signed-off-by: James Almer <jamrial@gmail.com>
* cmdutils: fix new API break the "ffmpeg -muxers/demuxers"Jun Zhao2018-04-02
| | | | | | | fix commit 2238190 break the "ffmpeg -muxers/demuxers". Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavf/allformats: remove left-over index decrementJosh de Kock2018-04-02
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavf: move avpriv function definition to internal.hJosh de Kock2018-04-02
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* avformat/mpeg: add missing checkPaul B Mahol2018-04-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mpeg: fix logic failurePaul B Mahol2018-04-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mpeg: fix detection and demuxing of raw AC3 in mpegpsPaul B Mahol2018-04-01
| | | | | | Fixes #4889. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mpeg: fix PCM-DVD mis-detection as MLPPaul B Mahol2018-04-01
| | | | | | Fixes #6563. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_amix: add weights optionPaul B Mahol2018-04-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/imgconvert: Fix loss mask bug in avcodec_find_best_pix_fmt_of_list()heimdallr2018-04-01
| | | | | | | | | | | | example: AVPixelFormat pixFmts[] = { AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA }; int loss = 0; AVPixelFormat best = avcodec_find_best_pix_fmt_of_list(pixFmts, AV_PIX_FMT_BGRA, 1, &loss); best is AV_PIX_FMT_RGB24. But AV_PIX_FMT_RGBA is better. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/showvolume : indent after prev commit and add commentMartin Vignali2018-04-01
|
* avfilter/showvolume : move width test for draw volume to the start of the loopMartin Vignali2018-04-01
|
* avfilter/showvolume : move clear picture part to a funcMartin Vignali2018-04-01
| | | | and use it if fade == 0.
* lavc: prefer the mp3float decoder to the mp3 decoderRostislav Pehlivanov2018-04-01
| | | | | | | | | On modern x86 systems its around 2x faster. For systems without FPUs it'll be slower, but our policy is to prefer floating point implementations and to let users decide what's best (or just not compile them on systems without FPUs). Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* ffmpeg: prevent premature EOF in sub2video with nullptr AVSubtitlesJan Ekström2018-04-01
| | | | | | | | | | | | | | | | With certain types of input and the filter chain getting re-initialized or re-configured, multiple nullptr AVSubtitles can get pushed into sub2video_update() in a row from sub2video_heartbeat. This causes end_pts, and on the next round pts, to become INT64_MAX, latter of which signals EOF in framesync, leading to complete loss of subtitles from that point on. Thus, check that the sub2video.end_pts is smaller than INT64_MAX in a similar fashion to sub2video_flush before sending out the nullptr AVSubtitle. This keeps premature EOFs from happening in framesync and the subtitle overlay is kept past the filter chain re-initializations/configurations.
* vf_libvmaf: Fix memory leakenctac2018-03-31
| | | | Fixes ticket #6967
* avfilter/vf_signature: use av_strlcpy()Michael Niedermayer2018-04-01
| | | | | | | Fixes: out of array access Found-by: Kira <kira_cxy@foxmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/utvideodec: Set pro flag based on fourccMichael Niedermayer2018-04-01
| | | | | | | | | | This avoids mixing 8bit variants with pro and 10bit with non pro mode. Fixes: out of array read Fixes: poc_03_30.avi Found-by: GwanYeong Kim <gy741.kim@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: parse multiple iTunes cover imagesTimo Teräs2018-04-01
| | | | | | | | | Multiple cover images are supported by having multiple data atoms inside the covr atom. AtomicParsley and mutagen amongst others support and document this construct. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: fix buildMichael Niedermayer2018-04-01
| | | | regression since 8f1382f80e0d4184c54c14afdda6482f050fbba7
* cmdutils: use new APIsJosh de Kock2018-03-31
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavd: remove linked listsJosh de Kock2018-03-31
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* Revert "lavd: add new API for iterating input and output devices"Josh de Kock2018-03-31
| | | | | | | | | | This reverts commit 0fd475704e871ef3a535947596a012894bae3cbd. Revert "lavd: fix iterating of input and output devices" This reverts commit ce1d77a5e7cebce11074bf6f9e38ad6da37338ff. Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavfi: add new iteration APIJosh de Kock2018-03-31
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* checkasm/Makefile: add EXTRALIBS-libavformatJosh de Kock2018-03-31
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* arm: hevcdsp: Add commas between macro argumentsMartin Storsjö2018-03-31
| | | | | | | | | | When targeting darwin, clang requires commas between arguments, while the no-comma form is allowed for other targets. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: hevcdsp: Avoid using macro expansion countersMartin Storsjö2018-03-31
| | | | | | | | | | | | | Clang supports the macro expansion counter (used for making unique labels within macro expansions), but not when targeting darwin. Convert uses of the counter into normal local labels, as used elsewhere. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supportedMartin Storsjö2018-03-31
| | | | | | | | | | | | | | | Vanilla clang supports altmacro since clang 5.0, and thus doesn't require gas-preprocessor for building the arm assembly any longer. However, the built-in assembler doesn't support .dn directives. This readds checks that were removed in d7320ca3ed10f0d, when the last usage of .dn directives within libav were removed. Alternatively, the assembly could be rewritten to not use the .dn directive, making it available to clang users. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter/avf_showvolume: let fade be also exactly 0Paul B Mahol2018-03-31
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc/avfilter/showvolume : fix doc for orientation paramMartin Vignali2018-03-31
| | | | possible value are h or v.
* avfilter/showvolume : indent after prev commitMartin Vignali2018-03-31
|
* avfilter/showvolume : calculate fade only if fade < 1.Martin Vignali2018-03-31
|
* avfilter/showvolume : add comment for orientation conditionMartin Vignali2018-03-31
|
* doc/encoders: list missing options for x265Gyan Doshi2018-03-30
| | | | | | Add entries for crf and profile in libx265 section Signed-off-by: Lou Logan <lou@lrcd.com>
* Merge commit '3a7b4ae62c798edbd82bcd8fef863c74ed2acd4a'James Almer2018-03-30
|\ | | | | | | | | | | | | * commit '3a7b4ae62c798edbd82bcd8fef863c74ed2acd4a': arm: Produce .const_data instead of .section .rodata for Mach-O Merged-by: James Almer <jamrial@gmail.com>
| * arm: Produce .const_data instead of .section .rodata for Mach-OMartin Storsjö2018-03-30
| | | | | | | | | | | | | | | | | | | | This is the same combination of .section directives as used in aarch64/asm.S. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ab05d3934de8e932dbd77979a687e6598e67535c'James Almer2018-03-30
|\| | | | | | | | | | | | | * commit 'ab05d3934de8e932dbd77979a687e6598e67535c': arm: vc1dsp: Add commas between macro arguments Merged-by: James Almer <jamrial@gmail.com>
| * arm: vc1dsp: Add commas between macro argumentsMartin Storsjö2018-03-30
| | | | | | | | | | | | | | | | | | | | When targeting darwin, clang requires commas between arguments, while the no-comma form is allowed for other targets. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e744281c49496b0e0a357e9f84c37fbf99215e20'James Almer2018-03-30
|\| | | | | | | | | | | | | | | | | | | * commit 'e744281c49496b0e0a357e9f84c37fbf99215e20': configure: Revert some incorrect uses of check_cc() This commit is a noop. The changes reverted here were never applied to begin with. Merged-by: James Almer <jamrial@gmail.com>
| * configure: Revert some incorrect uses of check_cc()Diego Biurrun2018-03-30
| |
* | Merge commit 'ea3320bb828553182fb34e164826f95df5743522'James Almer2018-03-30
|\| | | | | | | | | | | | | | | | | | | * commit 'ea3320bb828553182fb34e164826f95df5743522': libaomenc: fix profile setting avcodec: rename the AV1 profiles This commit is a noop, see 99cc3cf7a26cd4113e5047034577027d8c6f07a2 Merged-by: James Almer <jamrial@gmail.com>
| * libaomenc: fix profile settingJames Almer2018-03-29
| | | | | | | | | | | | | | | | Main Profile is yuv420p 8 and 10 bit High Profile is yuv444p 8 and 10 bit Professional Profile is yuv422p 8, 10, and 12 bit, plus every other pixfmt at 12 bit Signed-off-by: James Almer <jamrial@gmail.com>
| * avcodec: rename the AV1 profilesJames Almer2018-03-29
| | | | | | | | | | | | Use the proper names instead of numbers Signed-off-by: James Almer <jamrial@gmail.com>
* | fate: add test for eac3 dependant streamJames Almer2018-03-30
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mpc8: get frame output buffer right before it is actually neededPaul B Mahol2018-03-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/mpc8: check for overread earlier and abort decoding framePaul B Mahol2018-03-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fftools/ffmpeg: Remove an unused variable.Carl Eugen Hoyos2018-03-30
| | | | | | | | | | Fixes a warning: fftools/ffmpeg.c:2201:22: warning: unused variable 'fg'