You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	dhav: 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
						
							5cb02982a5
						
					
				
				
					commit
					0e289fafa7
				
			| @@ -395,7 +395,7 @@ retry: | ||||
|         default: avpriv_request_sample(s, "Unknown audio codec %X", dhav->audio_codec); | ||||
|         } | ||||
|         st->duration              = dhav->duration; | ||||
|         st->codecpar->channels    = dhav->audio_channels; | ||||
|         st->codecpar->ch_layout.nb_channels = dhav->audio_channels; | ||||
|         st->codecpar->sample_rate = dhav->sample_rate; | ||||
|         st->priv_data = dst = av_mallocz(sizeof(DHAVStream)); | ||||
|         if (!st->priv_data) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user