Browse Source

atomic: fix static vlc_atomic_rc_t init

It was never used, so no bad consequences (I plan to use it soon).
pull/162/head
Thomas Guillem 2 years ago
committed by Steve Lhomme
parent
commit
4c78bc6063
  1. 2
      include/vlc_atomic.h

2
include/vlc_atomic.h

@ -41,7 +41,7 @@ using std::memory_order_acq_rel;
#include <time.h> /* vlc_atomic_timedwait_daytime */
#define VLC_STATIC_RC { \
.refs = 0 \
.refs = (uintptr_t) 1 \
}
typedef struct vlc_atomic_rc_t {

Loading…
Cancel
Save