[vlc-devel] commit: Atomic builtins are from in GCC 4.1.0 onward. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 21 20:15:22 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 21 21:14:35 2008 +0300| [1c6ba8c00bc7d76ec7ff12a6905b21c40e3b4fe4] | committer: Rémi Denis-Courmont
Atomic builtins are from in GCC 4.1.0 onward.
We definitely don't want to use the slow mutex or risky spin locks,
unless we have to.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c6ba8c00bc7d76ec7ff12a6905b21c40e3b4fe4
---
modules/demux/rtpsession.c | 1 +
src/libvlc.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/demux/rtpsession.c b/modules/demux/rtpsession.c
index b3063fe..3886813 100644
--- a/modules/demux/rtpsession.c
+++ b/modules/demux/rtpsession.c
@@ -140,6 +140,7 @@ struct rtp_source_t
uint32_t ssrc;
uint16_t bad_seq; /* tentatively next expected sequence for resync */
uint16_t max_seq; /* next expected sequence */
+ uint32_t jitter; /* interarrival delay jitter estimate */
uint16_t last_seq; /* sequence of the last dequeued packet */
block_t *blocks; /* re-ordered blocks queue */
diff --git a/src/libvlc.c b/src/libvlc.c
index 128ae90..75d4cfb 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -77,7 +77,7 @@
#endif
#if defined(__GNUC__)
-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4)
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)
#define USE_SYNC
#endif
#endif
More information about the vlc-devel
mailing list