summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-23 00:14:50 +0100
committerJohns <johns98@gmx.net>2011-12-23 00:14:50 +0100
commit1e18da47f7466b68e52b5d64eebfbdde8f693116 (patch)
treec5c8375a845eb31988e5820283ed006cb9d9f861
parentba50ea7123da420ac3dbb2846e714cd534868214 (diff)
downloadvdr-plugin-softhddevice-1e18da47f7466b68e52b5d64eebfbdde8f693116.tar.gz
vdr-plugin-softhddevice-1e18da47f7466b68e52b5d64eebfbdde8f693116.tar.bz2
Fix uninitialized 'filled'.
-rw-r--r--video.c2
1 files changed, 1 insertions, 1 deletions
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"),