mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	audio_core: hle: mf: fix a regression...
... an introduction in 8f591d3b85714383196fd21e744a7eed5302ff0a
This commit is contained in:
		
							parent
							
								
									06316be8a7
								
							
						
					
					
						commit
						bee5ba3e33
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -146,7 +146,9 @@ int WMFDecoder::Impl::DecodingLoop(ADTSData adts_header, | ||||||
|         if (output_status == HAVE_MORE_DATA) |         if (output_status == HAVE_MORE_DATA) | ||||||
|             continue; |             continue; | ||||||
| 
 | 
 | ||||||
|         LOG_ERROR(Audio_DSP, "Errors occurred when receiving output: {}", output_status); |         if (output_status == NEED_MORE_INPUT) // according to MS document, this is not an error (?!)
 | ||||||
|  |             return 1; | ||||||
|  | 
 | ||||||
|         return -1; // return on other status
 |         return -1; // return on other status
 | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | @ -214,6 +216,7 @@ std::optional<BinaryResponse> WMFDecoder::Impl::Decode(const BinaryRequest& requ | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             LOG_ERROR(Audio_DSP, "Errors occurred when receiving output"); | ||||||
|             return response; |             return response; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue