avconv: fix uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									091a24b75f
								
							
						
					
					
						commit
						47219e1c0c
					
				
							
								
								
									
										2
									
								
								avconv.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								avconv.c
									
									
									
									
									
								
							| @ -1217,11 +1217,11 @@ static void do_video_out(AVFormatContext *s, | |||||||
|     formatted_picture = in_picture; |     formatted_picture = in_picture; | ||||||
|     final_picture = formatted_picture; |     final_picture = formatted_picture; | ||||||
| 
 | 
 | ||||||
| #if !CONFIG_AVFILTER |  | ||||||
|     resample_changed = ost->resample_width   != dec->width  || |     resample_changed = ost->resample_width   != dec->width  || | ||||||
|                        ost->resample_height  != dec->height || |                        ost->resample_height  != dec->height || | ||||||
|                        ost->resample_pix_fmt != dec->pix_fmt; |                        ost->resample_pix_fmt != dec->pix_fmt; | ||||||
| 
 | 
 | ||||||
|  | #if !CONFIG_AVFILTER | ||||||
|     if (resample_changed) { |     if (resample_changed) { | ||||||
|         av_log(NULL, AV_LOG_INFO, |         av_log(NULL, AV_LOG_INFO, | ||||||
|                "Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n", |                "Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user