projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d128473
)
proper showSinglePic error handling (thanks to Sat-Turner)
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 3 Jun 2008 13:16:41 +0000
(13:16 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 3 Jun 2008 13:16:41 +0000
(13:16 +0000)
lib/dvb/decoder.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/decoder.cpp
b/lib/dvb/decoder.cpp
index
72c6e39
..
7ad1a25
100644
(file)
--- a/
lib/dvb/decoder.cpp
+++ b/
lib/dvb/decoder.cpp
@@
-1145,7
+1145,7
@@
RESULT eTSMPEGDecoder::showSinglePic(const char *filename)
{
eDebug("showSinglePic %s", filename);
int f = open(filename, O_RDONLY);
- if (f)
+ if (f
>= 0
)
{
struct stat s;
fstat(f, &s);