[vlc-commits] contrib: a52: make config public (define LIBA52_FIXED)

Rafaël Carré git at videolan.org
Fri Jan 4 17:33:50 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jan  4 17:29:32 2013 +0100| [cbb36253db53012ff935bf481b6e707412d33e5d] | committer: Rafaël Carré

contrib: a52: make config public (define LIBA52_FIXED)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cbb36253db53012ff935bf481b6e707412d33e5d
---

 contrib/src/a52/liba52-fixed.diff |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/src/a52/liba52-fixed.diff b/contrib/src/a52/liba52-fixed.diff
index 369da65..9d0905c 100644
--- a/contrib/src/a52/liba52-fixed.diff
+++ b/contrib/src/a52/liba52-fixed.diff
@@ -9,13 +9,15 @@ diff -ruN a52dec.orig/include/a52.h a52dec/include/a52.h
   * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
   *
   * This file is part of a52dec, a free ATSC A-52 stream decoder.
-@@ -24,10 +24,15 @@
+@@ -24,10 +24,17 @@
  #ifndef A52_H
  #define A52_H
  
 -#ifndef LIBA52_DOUBLE
 -typedef float sample_t;
 -#else
++#define LIBA52_FIXED
++
 +#if defined(LIBA52_FIXED)
 +typedef int32_t sample_t;
 +typedef int32_t level_t;
@@ -28,7 +30,7 @@ diff -ruN a52dec.orig/include/a52.h a52dec/include/a52.h
  #endif
  
  typedef struct a52_state_s a52_state_t;
-@@ -53,9 +58,9 @@
+@@ -53,9 +60,9 @@
  int a52_syncinfo (uint8_t * buf, int * flags,
  		  int * sample_rate, int * bit_rate);
  int a52_frame (a52_state_t * state, uint8_t * buf, int * flags,



More information about the vlc-commits mailing list