[libbluray-devel] Changed header order (include macro.h after refcnt.h)
hpi1
git at videolan.org
Thu Jun 20 14:51:47 CEST 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Jun 20 15:50:59 2013 +0300| [f435c601e93c72d6f9973956f4480c5a111286a8] | committer: hpi1
Changed header order (include macro.h after refcnt.h)
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f435c601e93c72d6f9973956f4480c5a111286a8
---
src/libbluray/decoders/pg_decode.c | 2 +-
src/util/refcnt.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/libbluray/decoders/pg_decode.c b/src/libbluray/decoders/pg_decode.c
index cd9a30f..5f81020 100644
--- a/src/libbluray/decoders/pg_decode.c
+++ b/src/libbluray/decoders/pg_decode.c
@@ -19,10 +19,10 @@
#include "pg_decode.h"
+#include "util/refcnt.h"
#include "util/macro.h"
#include "util/logging.h"
#include "util/bits.h"
-#include "util/refcnt.h"
#include <string.h>
#include <stdlib.h>
diff --git a/src/util/refcnt.c b/src/util/refcnt.c
index d78a299..405b253 100644
--- a/src/util/refcnt.c
+++ b/src/util/refcnt.c
@@ -20,7 +20,6 @@
#include "refcnt.h"
#include "logging.h"
-#include "macro.h"
#include "mutex.h"
#include <stdio.h>
@@ -83,7 +82,7 @@ void bd_refcnt_dec(const void *obj)
bd_mutex_destroy(&ref->mutex);
}
- X_FREE(ref);
+ free(ref);
}
void *refcnt_realloc(void *obj, size_t sz)
More information about the libbluray-devel
mailing list