Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
EL5
>
a52dec
> a52dec-compat.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File a52dec-compat.diff of Package a52dec
diff -ur a52dec-0.7.5svn.orig/include/a52.h a52dec-0.7.5svn/include/a52.h --- a52dec-0.7.5svn.orig/include/a52.h 2009-11-21 12:16:55.000000000 +0100 +++ a52dec-0.7.5svn/include/a52.h 2009-11-21 23:38:01.737496206 +0100 @@ -68,7 +68,7 @@ #define A52_ACCEL_DETECT 0x80000000 uint32_t a52_accel (uint32_t accel); -a52_state_t * a52_init (void); +a52_state_t * a52_init (uint32_t mm_accel); sample_t * a52_samples (a52_state_t * state); int a52_syncinfo (uint8_t * buf, int * flags, int * sample_rate, int * bit_rate); diff -ur a52dec-0.7.5svn.orig/liba52/parse.c a52dec-0.7.5svn/liba52/parse.c --- a52dec-0.7.5svn.orig/liba52/parse.c 2009-11-21 12:16:55.000000000 +0100 +++ a52dec-0.7.5svn/liba52/parse.c 2009-11-21 23:41:41.876496697 +0100 @@ -63,12 +63,12 @@ return a52_accels & ~A52_ACCEL_DETECT; } -a52_state_t * a52_init (void) +a52_state_t * a52_init (uint32_t mm_accel) { a52_state_t * state; int i; - a52_accel (A52_ACCEL_DETECT); + a52_accel (mm_accel); state = (a52_state_t *) malloc (sizeof (a52_state_t)); if (state == NULL) diff -ur a52dec-0.7.5svn.orig/src/a52dec.c a52dec-0.7.5svn/src/a52dec.c --- a52dec-0.7.5svn.orig/src/a52dec.c 2009-11-21 12:16:55.000000000 +0100 +++ a52dec-0.7.5svn/src/a52dec.c 2009-11-21 23:39:45.882501382 +0100 @@ -631,8 +631,7 @@ return 1; } - a52_accel (accel); - state = a52_init (); + state = a52_init (accel); if (state == NULL) { fprintf (stderr, "A52 init failed\n"); return 1;