avfilter/vf_stereo3d: multiply linesize only once for interleaved row to mono
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
		
							parent
							
								
									1c878474fb
								
							
						
					
					
						commit
						aefcc77b90
					
				@ -781,8 +781,7 @@ copy:
 | 
				
			|||||||
        case INTERLEAVE_ROWS_LR:
 | 
					        case INTERLEAVE_ROWS_LR:
 | 
				
			||||||
        case INTERLEAVE_ROWS_RL:
 | 
					        case INTERLEAVE_ROWS_RL:
 | 
				
			||||||
            for (i = 0; i < s->nb_planes; i++) {
 | 
					            for (i = 0; i < s->nb_planes; i++) {
 | 
				
			||||||
                oleft->linesize[i]  *= 2;
 | 
					                out->linesize[i] *= 2;
 | 
				
			||||||
                oright->linesize[i] *= 2;
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        case ABOVE_BELOW_LR:
 | 
					        case ABOVE_BELOW_LR:
 | 
				
			||||||
        case ABOVE_BELOW_RL:
 | 
					        case ABOVE_BELOW_RL:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user