summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-04-06 14:24:08 +0200
committerJohns <johns98@gmx.net>2013-04-06 14:24:08 +0200
commit857546a3a50344cdf787da346061d3bb5e8b25b4 (patch)
treec8c6c88964c68d99046aa8c80889dcc4f27be91f /softhddev.c
parenta1b77b1502778d8066f7908d1b6c9c6a46f36508 (diff)
downloadvdr-plugin-softhddevice-857546a3a50344cdf787da346061d3bb5e8b25b4.tar.gz
vdr-plugin-softhddevice-857546a3a50344cdf787da346061d3bb5e8b25b4.tar.bz2
Fix the fix, when sillpicture is called in suspend.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softhddev.c b/softhddev.c
index 1e038aa..9ce0c7c 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -2580,7 +2580,7 @@ void StillPicture(const uint8_t * data, int size)
int old_video_hardware_decoder;
// might be called in Suspended Mode
- if (MyVideoStream->Decoder && MyVideoStream->SkipStream) {
+ if (!MyVideoStream->Decoder || MyVideoStream->SkipStream) {
return;
}
// must be a PES start code