You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	sds: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 James Almer
						James Almer
					
				
			
			
				
	
			
			
			
						parent
						
							3c659bc43e
						
					
				
				
					commit
					e968ae81f2
				
			| @@ -110,7 +110,7 @@ static int sds_read_header(AVFormatContext *ctx) | ||||
|     avio_skip(pb, 11); | ||||
|  | ||||
|     st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; | ||||
|     st->codecpar->channels = 1; | ||||
|     st->codecpar->ch_layout.nb_channels = 1; | ||||
|     st->codecpar->sample_rate = sample_period ? 1000000000 / sample_period : 16000; | ||||
|     st->duration = (avio_size(pb) - 21) / (127) * s->size / 4; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user