- 04 Apr, 2017 1 commit
-
-
Hendrik Leppkes authored
-
- 02 Apr, 2017 1 commit
-
-
James Almer authored
-
- 18 Mar, 2017 1 commit
-
-
James Almer authored
The typeof keyword is apparently not available when using the -std=c99 option. Fixes the use of C11 atomic functions with old GCC. Reviewed-by: Muhammad Faiz <mfcc64@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
- 08 Dec, 2016 1 commit
-
-
Wan-Teh Chang authored
The Solaris and Windows emulations of atomic_compare_exchange_strong() need typecasts to avoid compiler warnings, because the functions they call expect a void* pointer but an intptr_t integer is passed. Note that the emulations of atomic_compare_exchange_strong() (except the gcc version) only work for atomic_intptr_t because of the type of the second argument (|expected|). See http://en.cppreference.com/w/c/atomic: _Bool atomic_compare_exchange_strong( volatile A* obj, C* expected, C desired ); The types of the first argument and second argument are different (|A| and |C|, respectively). |C| is the non-atomic type corresponding to |A|. In the emulations of atomic_compare_exchange_strong(), |C| is intptr_t. This implies |A| can only be sig_intptr_t. Signed-off-by: Wan-Teh Chang <wtc@google.com>
-
- 02 Dec, 2016 6 commits
-
-
James Almer authored
Fixes fate-source. Signed-off-by: James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit eb34d403. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit f9a6a80e. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit bb81ed47. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit c2755864. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit 4e928ef3. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
-
- 02 Oct, 2016 5 commits
-
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC
-
Anton Khirnov authored
Adapted from the code by Rémi Denis-Courmont from VLC
-