You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	lavu/frame: av_frame_make_writable: set the channels on the new frame.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							2035cc3595
						
					
				
				
					commit
					e4c5e08f60
				
			| @@ -353,6 +353,7 @@ int av_frame_make_writable(AVFrame *frame) | ||||
|     tmp.format         = frame->format; | ||||
|     tmp.width          = frame->width; | ||||
|     tmp.height         = frame->height; | ||||
|     tmp.channels       = frame->channels; | ||||
|     tmp.channel_layout = frame->channel_layout; | ||||
|     tmp.nb_samples     = frame->nb_samples; | ||||
|     ret = av_frame_get_buffer(&tmp, 32); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user