- 03 Apr, 2017 6 commits
-
-
Ronald S. Bultje authored
Otherwise the thread may still be in the middle of decoding a previous frame, which would effectively trigger a race condition on any field concurrently read and written. In practice, this fixes tsan warnings like the following: WARNING: ThreadSanitizer: data race (pid=17380) Write of size 4 at 0x7d64000160fc by main thread: #0 update_context_from_user src/libavcodec/pthread_frame.c:335 (ffmpeg+0x000000dca515) [..] Previous read of size 4 at 0x7d64000160fc by thread T2 (mutexes: write M1821): #0 ff_thread_report_progress src/libavcodec/pthread_frame.c:565 (ffmpeg+0x000000dcb08a)
-
Ronald S. Bultje authored
Should fix tsan warnings in fate-fifo-muxer-h264/wav: WARNING: ThreadSanitizer: data race (pid=26552) Write of size 4 at 0x000001e0d7c0 by main thread: #0 transcode_init src/ffmpeg.c:3761 (ffmpeg+0x00000050ca1c) [..] Previous read of size 4 at 0x000001e0d7c0 by thread T1: #0 decode_interrupt_cb src/ffmpeg.c:460 (ffmpeg+0x0000004fde19)
-
Ronald S. Bultje authored
Fixes tsan warnings in several audio codecs (flac, alac, wavpack, tta and tak) that look like this: WARNING: ThreadSanitizer: data race (pid=14340) Read of size 4 at 0x7d64000169d8 by main thread (mutexes: write M1335): #0 update_context_from_thread src/libavcodec/pthread_frame.c:284 (ffmpeg+0x000000dc795f) [..] Previous write of size 4 at 0x7d64000169d8 by thread T1 (mutexes: write M1333): #0 wavpack_decode_block src/libavcodec/wavpack.c:1012 (ffmpeg+0x00000112b175)
-
Ronald S. Bultje authored
This is how the ref list manager links bitstream IDs to H264Picture/Ref objects, and is local to the producer thread. There is no need for the consumer thread to know the bitstream IDs of its references in their respective producer threads. In practice, this fixes tsan warnings when running fate-h264: WARNING: ThreadSanitizer: data race (pid=19295) Read of size 4 at 0x7dbc0000e614 by main thread (mutexes: write M1914): #0 ff_h264_ref_picture src/libavcodec/h264_picture.c:112 (ffmpeg+0x0000013b3709) [..] Previous write of size 4 at 0x7dbc0000e614 by thread T2 (mutexes: write M1917): #0 build_def_list src/libavcodec/h264_refs.c:91 (ffmpeg+0x0000013b46cf)
-
Martin Vignali authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Martin Vignali authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 02 Apr, 2017 8 commits
-
-
Jun Zhao authored
now gop_size <= (max_b_frames + 1) * p_per_i + 1 (IDR frame), so celing p_per_i = (gop_size - 1 + max_b_frames) / (max_b_frames + 1) Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Leilei <leilei.shang@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
This was merged in the wrong place.
-
James Almer authored
-
James Almer authored
-
Diego Biurrun authored
Cherry-picked from libav commit cfee5e1aSigned-off-by: James Almer <jamrial@gmail.com>
-
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
-
- 01 Apr, 2017 26 commits
-
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
Michael Niedermayer authored
Fixes: undefined behavior Fixes: 702974 Found-by: Thomas Guilbert <tguilbert@google.com> Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
This avoids an integer overflow the solution matches oggparsevorbis.c and 45581ed1 Fixes: 700242 Found-by: Thomas Guilbert <tguilbert@google.com> Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
James Almer authored
Makes the test output consistent across all targets. Reviewed-by: nevcairiel Signed-off-by: James Almer <jamrial@gmail.com>
-
Hendrik Leppkes authored
* commit 'e18ba2df': hwcontext_dxva2: make sure the sw frame format is the right one during transfer Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '5a1d605c': hwcontext_dxva2: split transfer_data() into upload/download functions Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '9d702657': hwcontext_dxva2: fix handling of the mapping flags Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '0d3176e3': hwcontext_dxva2: do not assume the destination format during mapping is always the right one Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
Clément Bœsch authored
* commit 'adb0e941': avpacket: Mark src pointer as constant See 5bb3f882Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
-
Clément Bœsch authored
* commit '0a4b9d0c': hlsenc: Add encryption support This commit is a noop, see 907ac20a Note that this commit differs from our encryption support in various ways so it may need some adjustments in the future. Merged-by: Clément Bœsch <u@pkh.me>
-
Dzung Hoang authored
-
Mark Thompson authored
Commits ade370a4 and e3fb74f7 were reordered while merging, so this change got lost.
-
Clément Bœsch authored
* commit 'd860a3cc': crypto: Add encryption support See 00d4013dMerged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit '76167140': qsvdec: Drop stray extra braces around initializer Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit '715b8243': qsv: Drop some unused variables Merged-by: Clément Bœsch <u@pkh.me>
-
Takayuki 'January June' Suwa authored
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Clément Bœsch authored
* commit 'bb265b76': examples/transcode_aac: Drop pointless return value const qualifier This commit is a noop, the function doesn't exist in FFmpeg anymore since e181e290. Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
-
Clément Bœsch authored
* commit 'bfe92dfe': Ignore all generated example binaries This commit is a noop, the .gitignore was updated during the merges of these examples. Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit 'bf864627': doc: Add note about recent regression in AviSynth+ Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit '3cc3463f': avisynth: Support pix_fmts added to AviSynth+ This commit is mostly a noop, see 92916e85. Cosmetics and a small fix are merged. Merged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit 'aaae5970': avisynth: Simplify the pix_fmt check for the newer AviSynth API This commit is a noop, see 0ed5c3ceMerged-by: Clément Bœsch <u@pkh.me>
-
Clément Bœsch authored
* commit 'bcefafa2': avisynth: Fix setting stream timebase This commit is a noop, see 8009a1f1Merged-by: Clément Bœsch <u@pkh.me>
-