Fix typo in warning message.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
		
							parent
							
								
									5639793be9
								
							
						
					
					
						commit
						addc64f7f9
					
				
							
								
								
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							@ -720,7 +720,7 @@ static void choose_sample_fmt(AVStream *st, AVCodec *codec)
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        if (*p == -1) {
 | 
					        if (*p == -1) {
 | 
				
			||||||
            if((codec->capabilities & CODEC_CAP_LOSSLESS) && av_get_sample_fmt_name(st->codec->sample_fmt) > av_get_sample_fmt_name(codec->sample_fmts[0]))
 | 
					            if((codec->capabilities & CODEC_CAP_LOSSLESS) && av_get_sample_fmt_name(st->codec->sample_fmt) > av_get_sample_fmt_name(codec->sample_fmts[0]))
 | 
				
			||||||
                av_log(NULL, AV_LOG_ERROR, "Convertion will not be lossless'\n");
 | 
					                av_log(NULL, AV_LOG_ERROR, "Conversion will not be lossless.\n");
 | 
				
			||||||
            if(av_get_sample_fmt_name(st->codec->sample_fmt))
 | 
					            if(av_get_sample_fmt_name(st->codec->sample_fmt))
 | 
				
			||||||
            av_log(NULL, AV_LOG_WARNING,
 | 
					            av_log(NULL, AV_LOG_WARNING,
 | 
				
			||||||
                   "Incompatible sample format '%s' for codec '%s', auto-selecting format '%s'\n",
 | 
					                   "Incompatible sample format '%s' for codec '%s', auto-selecting format '%s'\n",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user