mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	audio_core: hle: mf: fix a memory accessing issue
This commit is contained in:
		
							parent
							
								
									6281660844
								
							
						
					
					
						commit
						01e0902fa4
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -98,6 +98,9 @@ std::optional<BinaryResponse> WMFDecoder::Impl::Initalize(const BinaryRequest& r | |||
| void WMFDecoder::Impl::Clear() { | ||||
|     if (initialized) { | ||||
|         MFFlush(transform.get()); | ||||
|         // delete the transform object before shutting down MF
 | ||||
|         // otherwise access violation will occur
 | ||||
|         transform.reset(); | ||||
|         MFDestroy(); | ||||
|     } | ||||
|     initialized = false; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue