Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
descrambler: fix compilation on non-x86
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
  • Loading branch information
swegener authored and perexg committed Nov 10, 2015
1 parent e3c34e2 commit 8e56d4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/descrambler/ffdecsa/ffdecsa_interface.c
Expand Up @@ -114,6 +114,7 @@ typedef int32_t x86_reg;
typedef int x86_reg;
#endif

#if defined(__i386__) || defined(__x86_64__)
static inline void
native_cpuid(unsigned int *eax, unsigned int *ebx,
unsigned int *ecx, unsigned int *edx)
Expand All @@ -128,6 +129,7 @@ native_cpuid(unsigned int *eax, unsigned int *ebx,
"=d" (*edx)
: "0" (*eax), "2" (*ecx));
}
#endif

void
ffdecsa_init(void)
Expand Down

0 comments on commit 8e56d4b

Please sign in to comment.