summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--softhddev.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 086268d..c198076 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
User johns
Date:
+ Fix the fix, when sillpicture is called in suspend mode.
Fix crash, when sillpicture is called in suspend mode.
Add workaround for zero width+height and ffmpeg >= 1.2.
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