You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		| @@ -942,7 +942,7 @@ static int mxf_read_strong_ref_array(AVIOContext *pb, UID **refs, int *count) | ||||
|     *count = c; | ||||
|  | ||||
|     av_free(*refs); | ||||
|     *refs = av_calloc(*count, sizeof(UID)); | ||||
|     *refs = av_malloc_array(*count, sizeof(UID)); | ||||
|     if (!*refs) { | ||||
|         *count = 0; | ||||
|         return AVERROR(ENOMEM); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user