avcodec/nuv: add FF_CODEC_CAP_INIT_CLEANUP
Fixes: memleak Fixes: 12244/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_NUV_fuzzer-5099447273390080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
							parent
							
								
									c65c4ce773
								
							
						
					
					
						commit
						e94288c493
					
				@ -365,4 +365,5 @@ AVCodec ff_nuv_decoder = {
 | 
			
		||||
    .close          = decode_end,
 | 
			
		||||
    .decode         = decode_frame,
 | 
			
		||||
    .capabilities   = AV_CODEC_CAP_DR1,
 | 
			
		||||
    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user