From 1e18da47f7466b68e52b5d64eebfbdde8f693116 Mon Sep 17 00:00:00 2001 From: Johns Date: Fri, 23 Dec 2011 00:14:50 +0100 Subject: [PATCH] Fix uninitialized 'filled'. --- video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video.c b/video.c index fffabe3..a040e15 100644 --- a/video.c +++ b/video.c @@ -4595,9 +4595,9 @@ static void VdpauSyncDisplayFrame(VdpauDecoder * decoder) || decoder->FramesDisplayed % 6)) { VdpauAdvanceFrame(); } + filled = atomic_read(&decoder->SurfacesFilled); #if 0 // debug duplicate frames (done by VdpauAdvanceFrame) - filled = atomic_read(&decoder->SurfacesFilled); if (filled == 1) { decoder->FramesDuped++; Warning(_("video: display buffer empty, duping frame (%d/%d)\n"),