mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Fix uninitialized 'filled'.
This commit is contained in:
		
							
								
								
									
										2
									
								
								video.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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"),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user