ffmpeg: free attachments, fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									a60530e3ee
								
							
						
					
					
						commit
						0cecaa9e2e
					
				@ -126,6 +126,7 @@ static void uninit_options(OptionsContext *o, int is_input)
 | 
			
		||||
    av_freep(&o->stream_maps);
 | 
			
		||||
    av_freep(&o->audio_channel_maps);
 | 
			
		||||
    av_freep(&o->streamid_map);
 | 
			
		||||
    av_freep(&o->attachments);
 | 
			
		||||
 | 
			
		||||
    if (is_input)
 | 
			
		||||
        recording_time = o->recording_time;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user