summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2009-02-04 21:49:06 +0000
committerrofafor <rofafor>2009-02-04 21:49:06 +0000
commit1c43a925ae22c2795cb8000ca015ec9eb6313d32 (patch)
treee4d03224b387d2d45efae72e62c09cb79b5edd05
parent5965bbfc030eb591d3ac24fdc1600e7fddecc0d1 (diff)
downloadxineliboutput-1c43a925ae22c2795cb8000ca015ec9eb6313d32.tar.gz
xineliboutput-1c43a925ae22c2795cb8000ca015ec9eb6313d32.tar.bz2
Silenced a compile time warning.
-rw-r--r--device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.c b/device.c
index dbfafc01..748eccb3 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c,v 1.70 2009-02-04 10:48:47 phintuka Exp $
+ * $Id: device.c,v 1.71 2009-02-04 21:49:06 rofafor Exp $
*
*/
@@ -1253,7 +1253,9 @@ void cXinelibDevice::StillPicture(const uchar *Data, int Length)
bool isPes = DATA_IS_PES(Data) && ((Data[3] & 0xF0) == 0xE0);
bool isMpeg1 = isPes && ((Data[6] & 0xC0) != 0x80);
bool isH264 = isPes && pes_is_frame_h264(Data, Length);
+#if VDRVERSNUM >= 10701
bool isTs = DATA_IS_TS(Data);
+#endif
int i;