summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-11 17:37:01 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-15 09:41:08 +0100
commitf7407f56cbf820a147bd77d728ac9a72c587cc56 (patch)
tree805e4ec95615bb9abccaa8a93344ad081599b542 /libavcodec/golomb.h
parentfbd1f7639d0142c391bec85d1d840c835210843f (diff)
golomb: Replace __PRETTY_FUNCTION__ with __func__ for tracing
The former is a GNU extension while the latter is C99.
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r--libavcodec/golomb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index bf80fae117..9fafbcda70 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -449,10 +449,10 @@ static inline int get_te(GetBitContext *s, int r, char *file, const char *func,
return i;
}
-#define get_ue_golomb(a) get_ue(a, __FILE__, __PRETTY_FUNCTION__, __LINE__)
-#define get_se_golomb(a) get_se(a, __FILE__, __PRETTY_FUNCTION__, __LINE__)
-#define get_te_golomb(a, r) get_te(a, r, __FILE__, __PRETTY_FUNCTION__, __LINE__)
-#define get_te0_golomb(a, r) get_te(a, r, __FILE__, __PRETTY_FUNCTION__, __LINE__)
+#define get_ue_golomb(a) get_ue(a, __FILE__, __func__, __LINE__)
+#define get_se_golomb(a) get_se(a, __FILE__, __func__, __LINE__)
+#define get_te_golomb(a, r) get_te(a, r, __FILE__, __func__, __LINE__)
+#define get_te0_golomb(a, r) get_te(a, r, __FILE__, __func__, __LINE__)
#endif /* TRACE */