vc1dec: dont attempt error concealment on field pictures.
This is not implemented and doesnt work. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									2e346bdaba
								
							
						
					
					
						commit
						697edcc12a
					
				@ -5638,7 +5638,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
 | 
			
		||||
//      return -1;
 | 
			
		||||
        if(s->error_occurred && s->pict_type == AV_PICTURE_TYPE_B)
 | 
			
		||||
            goto err;
 | 
			
		||||
        ff_er_frame_end(s);
 | 
			
		||||
        if(!v->field_mode)
 | 
			
		||||
            ff_er_frame_end(s);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ff_MPV_frame_end(s);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user