decoder/mad: simplify "return", eliminate check
This check was redundant, because we could only exit the loop when ret==DECODE_OK.
This commit is contained in:
		| @@ -1043,10 +1043,8 @@ MadDecoder::Read() | |||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		if (!skip && ret == DECODE_OK) | 		if (!skip && ret == DECODE_OK) | ||||||
| 			break; | 			return true; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	return ret != DECODE_BREAK; |  | ||||||
| } | } | ||||||
|  |  | ||||||
| static void | static void | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann