Opened 20 years ago
Closed 20 years ago
#151 closed patch (fixed)
[PATCH] RingBuffer.h
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | major | Milestone: | unknown |
| Component: | mythtv | Version: | |
| Severity: | high | Keywords: | |
| Cc: | Ticket locked: | no |
Description
I'm not 100% sure if this is the correct fix, but it fixes the compilation error now the inline method seems to have been moved to the .cpp file.
Index: RingBuffer.h
===================================================================
--- RingBuffer.h (revision 6903)
+++ RingBuffer.h (working copy)
@@ -23,11 +23,8 @@
RemoteEncoder *enc = NULL);
~RingBuffer();
-#ifdef HAVE_DVDNAV
+
bool IsOpen(void);
-#else
- bool IsOpen(void) { return (tfw || fd2 > -1 || remotefile); }
-#endif
int Read(void *buf, int count);
int Write(const void *buf, int count);
Note:
See TracTickets
for help on using tickets.

(In [6904]) Fixes #151