summaryrefslogtreecommitdiffstats
path: root/dec_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'dec_video.c')
-rw-r--r--dec_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dec_video.c b/dec_video.c
index 29b63063cc..3d050c672a 100644
--- a/dec_video.c
+++ b/dec_video.c
@@ -332,7 +332,7 @@ switch(sh_video->codec->driver){
#ifdef USE_DIRECTSHOW
case 4: { // W32/DirectShow
if(drop_frame<2) DS_VideoDecoder_DecodeFrame(start, in_size, 0, !drop_frame);
- if(!drop_frame) blit_frame=3;
+ if(!drop_frame && sh_video->our_out_buffer) blit_frame=3;
break;
}
#endif