cabac: 3rd try at working around a compiler bug in clang.
Switch to a broader detection of versions. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									3b1355bb93
								
							
						
					
					
						commit
						f247f4cf47
					
				@ -81,7 +81,8 @@
 | 
				
			|||||||
        "add    "tmp"       , "low"                                     \n\t"\
 | 
					        "add    "tmp"       , "low"                                     \n\t"\
 | 
				
			||||||
        "1:                                                             \n\t"
 | 
					        "1:                                                             \n\t"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS) && !(defined(__i386) && __clang_major__==2 && __clang_minor__==9)
 | 
					
 | 
				
			||||||
 | 
					#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS) && !(defined(__i386) && defined(__clang__) && (__clang_major__<2 || (__clang_major__==2 && __clang_minor__<10)))
 | 
				
			||||||
#define get_cabac_inline get_cabac_inline_x86
 | 
					#define get_cabac_inline get_cabac_inline_x86
 | 
				
			||||||
static av_always_inline int get_cabac_inline_x86(CABACContext *c,
 | 
					static av_always_inline int get_cabac_inline_x86(CABACContext *c,
 | 
				
			||||||
                                                 uint8_t *const state)
 | 
					                                                 uint8_t *const state)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user