]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/common.h
typo
[ffmpeg] / libavutil / common.h
index 4b195776bf1850ed3e13a35c9d0f3ed56a5ca541..45c059b39c60efdb7fc0adc22810a4f59fb9a22d 100644 (file)
 #define FFSIGN(a) ((a) > 0 ? 1 : -1)
 
 #define FFMAX(a,b) ((a) > (b) ? (a) : (b))
+#define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c)
 #define FFMIN(a,b) ((a) > (b) ? (b) : (a))
+#define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c)
 
 #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
 
@@ -341,7 +343,7 @@ static inline uint64_t read_time(void)
     uint32_t tbu, tbl, temp;
 
      /* from section 2.2.1 of the 32-bit PowerPC PEM */
-     __asm__ __volatile__(
+     asm volatile(
          "1:\n"
          "mftbu  %2\n"
          "mftb   %0\n"