- 27 Mar, 2017 12 commits
-
-
Clément Bœsch authored
Imported from Libav
-
Clément Bœsch authored
-
Clément Bœsch authored
-
Clément Bœsch authored
For consistency with Libav.
-
Clément Bœsch authored
This reduces diff with Libav. It also prevents a potential confusion between the private context and the AVCodecContext.
-
Clément Bœsch authored
This is following Libav layout to ease merges.
-
Rostislav Pehlivanov authored
Entries are organized in descending chronological order. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Long overdue for removal, af_aresample should be used instead. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-
wm4 authored
Could lead to random behavior. This possibly happened due to commit 32a5b631. This should/could probably be simplified, but for no apply a minimal fix to quell the errors. Tested-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
-
wm4 authored
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 <michael@niedermayer.cc> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
-
wm4 authored
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 <michael@niedermayer.cc> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
-
Kyle Swanson authored
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); ^~~~~~~~~~~~~~~~~
-
- 26 Mar, 2017 14 commits
-
-
Michael Niedermayer authored
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Mark Thompson authored
This was skipped in c17563c5 because it depended on the filter setup merge, but was forgotten after that actually happened. Fixes hwaccel fate for stream size change tests.
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: 712/clusterfuzz-testcase-6647676227551232 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
James Almer authored
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
It's a simplifaction of the same code, originally commited as 3b5ad8fb. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
It's a simplifaction of the same code, originally commited as b4b9a64b. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Changes to the parsing code originally committed to mpegvideo_parser.c in 73fb23dc. Required by some samples, like PVA_test-partial.pva Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
- 25 Mar, 2017 3 commits
-
-
Timo Rothenpieler authored
-
James Almer authored
-
James Almer authored
-
- 24 Mar, 2017 11 commits
-
-
Clément Bœsch authored
The first case was forgotten in 89790ba2. Note: build_only=yes is one of the case where hiding the errors makes sense.
-
Carl Eugen Hoyos authored
libavcodec/xface.c:318:27: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
-
Michael Niedermayer authored
Fixes empty statement, found by ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Thomas Turner authored
Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Paul B Mahol authored
Fixes #6214 and vsynth1-dnxhd-720p-hr-lb. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
James Almer authored
Unrolling the loops triplicates the size of the assembled output while not generating any gain in performance.
-
Clément Bœsch authored
* commit 'fbe425c8': hap: Adjust printf length modifiers to match variable types This commit is a noop, see 5a51ca2dMerged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit '1263b203': Adjust printf conversion specifiers to match variable signedness Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit 'ca1e5eea': Remove some pointless TRACE level debug code Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit '07eea5a5': nut: Drop pointless TRACE level debug code Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit 'c3dad1bf': nsv: Drop unnecessary TRACE level debug code Merged-by: Clément Bœsch <u@pkh.me>
-