summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-03-23 18:43:20 +0100
committerJohns <johns98@gmx.net>2012-03-23 18:43:20 +0100
commitbd4503f30bd7e66e2d4c01391d8ab033f6b72e9d (patch)
tree7ba34b7953c1ef9a7f236a19f5845177e2479183 /misc.h
parent24ba8175a3983d653c89074f3932c8f61e880abf (diff)
downloadvdr-plugin-softhddevice-bd4503f30bd7e66e2d4c01391d8ab033f6b72e9d.tar.gz
vdr-plugin-softhddevice-bd4503f30bd7e66e2d4c01391d8ab033f6b72e9d.tar.bz2
More debug for flush buffers. Bigger audio buffer.
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc.h b/misc.h
index 5e32e39..f5ff4b3 100644
--- a/misc.h
+++ b/misc.h
@@ -107,7 +107,9 @@ static inline void Syslog(const int level, const char *format, ...)
#define Debug(level, fmt...) /* disabled */
#endif
-#ifdef AV_NOPTS_VALUE
+#ifndef AV_NOPTS_VALUE
+#define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
+#endif
/**
** Nice time-stamp string.
@@ -130,8 +132,6 @@ static inline const char *Timestamp2String(int64_t ts)
return buf[idx];
}
-#endif
-
/**
** Get ticks in ms.
**