summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changelog: reorder last entryRostislav Pehlivanov2017-03-271-1/+1
| | | | | | Entries are organized in descending chronological order. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* lavfi: remove af_asynts filterRostislav Pehlivanov2017-03-278-367/+2
| | | | | | Long overdue for removal, af_aresample should be used instead. Signed-off-by: Rostislav Pehlivanov <[email protected]>
* pthread_frame: fix uninitialized variable readwm42017-03-271-1/+1
| | | | | | | | | Could lead to random behavior. This possibly happened due to commit 32a5b631267. This should/could probably be simplified, but for no apply a minimal fix to quell the errors. Tested-by: Michael Niedermayer <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]>
* pthread_frame: do not attempt to unlock a mutex on the wrong threadwm42017-03-271-10/+31
| | | | | | | | | | | | | | | | | async_mutex has is used in a very strange but intentional way: it is locked by default, and unlocked only in regions that can be run concurrently. If the user was calling API functions to the same context from different threads (in a safe way), this could unintentionally unlock the mutex on a different thread than the previous lock operation. It's not allowed by the pthread API. Fix this by emulating a binary semaphore using a mutex and condition variable. (Posix semaphores are not available on all platforms.) Tested-by: Michael Niedermayer <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]>
* avformat, ffmpeg: deprecate old rotation APIwm42017-03-278-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old "API" that signaled rotation as a metadata value has been replaced by DISPLAYMATRIX side data quite a while ago. There is no reason to make muxers/demuxers/API users support both. In addition, the metadata API is dangerous, as user tags could "leak" into it, creating unintended features or bugs. ffmpeg CLI has to be updated to use the new API. In particular, we must not allow to leak the "rotate" tag into the muxer. Some muxers will catch this properly (like mov), but others (like mkv) can add it as generic tag. Note applications, which use libavformat and assume the old rotate API, will interpret such "rotate" user tags as rotate metadata (which it is not), and incorrectly rotate the video. The ffmpeg/ffplay tools drop the use of the old API for muxing and demuxing, as all muxers/demuxers support the new API. This will mean that the tools will not mistakenly interpret per-track "rotate" user tags as rotate metadata. It will _not_ be treated as regression. Unfortunately, hacks have been added, that allow the user to override rotation by setting metadata explicitly, e.g. via -metadata:s:v:0 rotate=0 See references to trac #4560. fate-filter-meta-4560-rotate0 tests this. It's easier to adjust the hack for supporting it than arguing for its removal, so ffmpeg CLI now explicitly catches this case, and essentially replaces the "rotate" value with a display matrix side data. (It would be easier for both user and implementation to create an explicit option for rotation.) When the code under FF_API_OLD_ROTATE_API is disabled, one FATE reference file has to be updated (because "rotate" is not exported anymore). Tested-by: Michael Niedermayer <[email protected]> Reviewed-by: Michael Niedermayer <[email protected]>
* libavcodec/opusenc: use correct format specifiersKyle Swanson2017-03-271-1/+1
| | | | | | | | | | | | | Squelches the following compiler warnings: libavcodec/opusenc.c:1051:16: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] avctx->bit_rate/1000, clipped_rate/1000); ^~~~~~~~~~~~~~~~~~~~ libavcodec/opusenc.c:1051:38: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] avctx->bit_rate/1000, clipped_rate/1000); ^~~~~~~~~~~~~~~~~
* avcodec/avcodec: Correct and make consistent AVERROR() in commentsMichael Niedermayer2017-03-271-4/+4
| | | | | Reviewed-by: "Ronald S. Bultje" <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* ffmpeg: Remove hw_device_ctx output filter reinit hackMark Thompson2017-03-261-1/+1
| | | | | | | | This was skipped in c17563c5d3c974a69709ebae0171534763b3051c because it depended on the filter setup merge, but was forgotten after that actually happened. Fixes hwaccel fate for stream size change tests.
* avfilter/vf_signature: Replace uncommon spelling of seperateMichael Niedermayer2017-03-261-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/h264idct_template: Fix multiple runtime error: signed integer overflowMichael Niedermayer2017-03-261-28/+28
| | | | | | | Fixes: 712/clusterfuzz-testcase-6647676227551232 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/x86/idctdsp: Remove duplicate includeMichael Niedermayer2017-03-261-1/+0
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* doc/bitstream_filters: Fix project name after mergeMichael Niedermayer2017-03-261-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* ffprobe: support skip_samples packet side data informationJames Almer2017-03-251-0/+5
| | | | | Reviewed-by: Rostislav Pehlivanov <[email protected]> Signed-off-by: James Almer <[email protected]>
* avcodec/extract_extradata_bsf: use the parsing code from mpeg4video_split()James Almer2017-03-251-6/+6
| | | | | | | It's a simplifaction of the same code, originally commited as 3b5ad8fbf77. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* avcodec/extract_extradata_bsf: use the parsing code from vc1_split()James Almer2017-03-251-11/+7
| | | | | | | It's a simplifaction of the same code, originally commited as b4b9a64bdb6. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* avcodec/extract_extradata_bsf: use the parsing code from mpegvideo_split()James Almer2017-03-251-9/+37
| | | | | | | | | Changes to the parsing code originally committed to mpegvideo_parser.c in 73fb23dc5a5. Required by some samples, like PVA_test-partial.pva Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
* avformat/mov: stop using deprecated codec flagsJames Almer2017-03-251-1/+1
| | | | Signed-off-by: James Almer <[email protected]>
* avfilter: stop using deprecated codec flagsJames Almer2017-03-252-2/+2
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec: stop using deprecated codec flagsJames Almer2017-03-259-20/+20
| | | | Signed-off-by: James Almer <[email protected]>
* ffmpeg: stop using deprecated codec flagsJames Almer2017-03-251-1/+1
| | | | Signed-off-by: James Almer <[email protected]>
* configure: cuvid hwaccels need the corresponding decoder, not the other way ↵Timo Rothenpieler2017-03-251-9/+11
| | | | around
* fate/checkasm: fix use of uninitialized memory on hevc_add_res testsJames Almer2017-03-241-1/+1
|
* fate/checkasm: use LOCAL_ALINGED_32 on hevc_add_res testsJames Almer2017-03-241-4/+4
|
* fate: mask errors while constructing report filesClément Bœsch2017-03-241-1/+1
| | | | | | | The first case was forgotten in 89790ba2bfc9d0dc5ad407c5724b6ee616ecde58. Note: build_only=yes is one of the case where hiding the errors makes sense.
* lavc/xface: Reorder conditions to silence a gcc warning.Carl Eugen Hoyos2017-03-241-2/+2
| | | | libavcodec/xface.c:318:27: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
* avcodec/tests/celp_math: Change IsAlmostEqual() to a functionMichael Niedermayer2017-03-241-8/+9
| | | | | | Fixes empty statement, found by ubitux Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/tests: added test for celp_math.cThomas Turner2017-03-243-0/+54
| | | | | Signed-off-by: Thomas Turner <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/dnxhd_parser: take into account compressed frame size and skip itPaul B Mahol2017-03-242-9/+60
| | | | | | Fixes #6214 and vsynth1-dnxhd-720p-hr-lb. Signed-off-by: Paul B Mahol <[email protected]>
* x86/hevc_add_res: merge missing changes from ↵James Almer2017-03-241-33/+37
| | | | | | | 3d6535983282bea542dac2e568ae50da5796be34 Unrolling the loops triplicates the size of the assembled output while not generating any gain in performance.
* Merge commit 'fbe425c8d29e473a8f69ae2dc52b1a10b77f3b44'Clément Bœsch2017-03-240-0/+0
|\ | | | | | | | | | | | | | | | | * commit 'fbe425c8d29e473a8f69ae2dc52b1a10b77f3b44': hap: Adjust printf length modifiers to match variable types This commit is a noop, see 5a51ca2da7b76cad2a86476590c18b26a98eafbe Merged-by: Clément Bœsch <[email protected]>
| * hap: Adjust printf length modifiers to match variable typesDiego Biurrun2016-10-281-1/+1
| | | | | | | | | | libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=] libavcodec/hapenc.c:121:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t {aka unsigned int}’ [-Wformat=]
* | Merge commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50'Clément Bœsch2017-03-2410-31/+31
|\| | | | | | | | | | | | | * commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50': Adjust printf conversion specifiers to match variable signedness Merged-by: Clément Bœsch <[email protected]>
| * Adjust printf conversion specifiers to match variable signednessDiego Biurrun2016-10-2810-36/+36
| |
* | Merge commit 'ca1e5eea0c7b72a6e30aa6488cfeced3a4853521'Clément Bœsch2017-03-244-42/+0
|\| | | | | | | | | | | | | * commit 'ca1e5eea0c7b72a6e30aa6488cfeced3a4853521': Remove some pointless TRACE level debug code Merged-by: Clément Bœsch <[email protected]>
| * Remove some pointless TRACE level debug codeDiego Biurrun2016-10-274-41/+0
| | | | | | | | This also kills some warnings with certain compiler options.
* | Merge commit '07eea5a5ded1141632aefecfa59dcdc26de2d7ea'Clément Bœsch2017-03-242-55/+0
|\| | | | | | | | | | | | | * commit '07eea5a5ded1141632aefecfa59dcdc26de2d7ea': nut: Drop pointless TRACE level debug code Merged-by: Clément Bœsch <[email protected]>
| * nut: Drop pointless TRACE level debug codeDiego Biurrun2016-10-272-46/+0
| | | | | | | | The code has little usefulness and uses the __PRETTY_FUNCTION__ GNU extension.
* | Merge commit 'c3dad1bf3b5e04e01c291b1ac41e6bef0adf2206'Clément Bœsch2017-03-241-13/+0
|\| | | | | | | | | | | | | * commit 'c3dad1bf3b5e04e01c291b1ac41e6bef0adf2206': nsv: Drop unnecessary TRACE level debug code Merged-by: Clément Bœsch <[email protected]>
| * nsv: Drop unnecessary TRACE level debug codeDiego Biurrun2016-10-271-13/+0
| | | | | | | | The output is rather silly and the code uses non-standard __FUNCTION__.
* | Merge commit '47756f51fe836959ffa5c6e2baeacbd71e150069'Clément Bœsch2017-03-241-9/+0
|\| | | | | | | | | | | | | * commit '47756f51fe836959ffa5c6e2baeacbd71e150069': dnxhdenc: Drop pointless, commented-out debug output Merged-by: Clément Bœsch <[email protected]>
| * dnxhdenc: Drop pointless, commented-out debug outputDiego Biurrun2016-10-271-9/+0
| |
* | Merge commit '0456e684394dc5a7b98ab9ebb48396d743bf3730'Clément Bœsch2017-03-241-2/+2
|\| | | | | | | | | | | | | * commit '0456e684394dc5a7b98ab9ebb48396d743bf3730': audio_fifo: Drop write-only variable Merged-by: Clément Bœsch <[email protected]>
| * audio_fifo: Drop write-only variableDiego Biurrun2016-10-271-2/+2
| |
* | Merge commit '0574780d7a196f87ddd89d6362f4c47f3532b4c4'Clément Bœsch2017-03-241-1/+1
|\| | | | | | | | | | | | | * commit '0574780d7a196f87ddd89d6362f4c47f3532b4c4': h264_loopfilter: Do not print value of uninitialized variable Merged-by: Clément Bœsch <[email protected]>
| * h264_loopfilter: Do not print value of uninitialized variableDiego Biurrun2016-10-271-1/+1
| | | | | | | | libavcodec/h264_loopfilter.c:531:111: warning: variable 'edge' is uninitialized when used here [-Wuninitialized]
* | Merge commit '255526998501f0040ae43fe4848c817a97fc578a'Clément Bœsch2017-03-241-2/+2
|\| | | | | | | | | | | | | * commit '255526998501f0040ae43fe4848c817a97fc578a': mpegaudio: Do not print value of uninitialized variable Merged-by: Clément Bœsch <[email protected]>
| * mpegaudio: Do not print value of uninitialized variableDiego Biurrun2016-10-271-2/+2
| | | | | | | | libavcodec/mpegaudiodec_template.c:885:97: warning: variable 'x' is uninitialized when used here [-Wuninitialized]
* | Merge commit '14cab426b03afd08bc9fe9b6e021a9543c4bdd7e'Clément Bœsch2017-03-240-0/+0
|\| | | | | | | | | | | | | | | | | | | | | * commit '14cab426b03afd08bc9fe9b6e021a9543c4bdd7e': build: Hardcode avversion.h dependency This commit is a noop, see: 4d0ac9aee920cd95c35fbf4cd0a073baf86ff4c2 4ae87554f3c8bc54db572873f5049427a7e6cb31 Merged-by: Clément Bœsch <[email protected]>
| * build: Hardcode avversion.h dependencyDiego Biurrun2016-10-271-0/+1
| | | | | | | | | | | | | | Since avversion.h is a generated header it must be created before dependencies can be determined as a side effect of compilation. Otherwise Make stops and restarts the build process to generate avversion.h and produces related error messages.
* | Merge commit 'f22363c72968f1a1fc4881d8695ec7068b0aa03c'Clément Bœsch2017-03-240-0/+0
|\| | | | | | | | | | | | | | | | | * commit 'f22363c72968f1a1fc4881d8695ec7068b0aa03c': openssl: Avoid double semicolons after the GET_BIO_DATA macro This commit is a noop, see fc83de7e1d0eab29942b4ceb67b49e66e7b99226 Merged-by: Clément Bœsch <[email protected]>