summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-05-15 11:08:18 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-05-15 11:08:18 +0200
commite81b822a5f13058c7edb90933b68bbb7059c11d3 (patch)
treef193d1635f144842fbf3bdd2b216aaad2a333629 /dvbdevice.c
parent448f95f8172f7ab895371c97abdb980d332cec91 (diff)
downloadvdr-e81b822a5f13058c7edb90933b68bbb7059c11d3.tar.gz
vdr-e81b822a5f13058c7edb90933b68bbb7059c11d3.tar.bz2
Removed unnecessary checks
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 7b5b5a01..f8e176fc 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 2.17 2009/05/10 13:13:04 kls Exp $
+ * $Id: dvbdevice.c 2.18 2009/05/15 11:08:18 kls Exp $
*/
#include "dvbdevice.h"
@@ -775,8 +775,7 @@ void cDvbDevice::GetOsdSize(int &Width, int &Height, double &Aspect)
else
Height = 480; // NTSC
Aspect = 1.0;
- if (Width >= MINOSDWIDTH && Width <= MAXOSDWIDTH && Height >= MINOSDHEIGHT && Height <= MAXOSDHEIGHT)
- return;
+ return;
}
else
LOG_ERROR;