You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/metadata: allow ff_metadata_conv() to be called with NULL saftely
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -33,7 +33,7 @@ void ff_metadata_conv(AVDictionary **pm, const AVMetadataConv *d_conv, | ||||
|     AVDictionary *dst = NULL; | ||||
|     const char *key; | ||||
|  | ||||
|     if (d_conv == s_conv) | ||||
|     if (d_conv == s_conv || !pm) | ||||
|         return; | ||||
|  | ||||
|     while ((mtag = av_dict_get(*pm, "", mtag, AV_DICT_IGNORE_SUFFIX))) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user