summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
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