Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
cbb36253
Commit
cbb36253
authored
Jan 04, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: a52: make config public (define LIBA52_FIXED)
parent
7c9c04a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
contrib/src/a52/liba52-fixed.diff
contrib/src/a52/liba52-fixed.diff
+4
-2
No files found.
contrib/src/a52/liba52-fixed.diff
View file @
cbb36253
...
@@ -9,13 +9,15 @@ diff -ruN a52dec.orig/include/a52.h a52dec/include/a52.h
...
@@ -9,13 +9,15 @@ diff -ruN a52dec.orig/include/a52.h a52dec/include/a52.h
* Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
*
*
* This file is part of a52dec, a free ATSC A-52 stream decoder.
* This file is part of a52dec, a free ATSC A-52 stream decoder.
@@ -24,10 +24,1
5
@@
@@ -24,10 +24,1
7
@@
#ifndef A52_H
#ifndef A52_H
#define A52_H
#define A52_H
-#ifndef LIBA52_DOUBLE
-#ifndef LIBA52_DOUBLE
-typedef float sample_t;
-typedef float sample_t;
-#else
-#else
+#define LIBA52_FIXED
+
+#if defined(LIBA52_FIXED)
+#if defined(LIBA52_FIXED)
+typedef int32_t sample_t;
+typedef int32_t sample_t;
+typedef int32_t level_t;
+typedef int32_t level_t;
...
@@ -28,7 +30,7 @@ diff -ruN a52dec.orig/include/a52.h a52dec/include/a52.h
...
@@ -28,7 +30,7 @@ diff -ruN a52dec.orig/include/a52.h a52dec/include/a52.h
#endif
#endif
typedef struct a52_state_s a52_state_t;
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 a52_syncinfo (uint8_t * buf, int * flags,
int * sample_rate, int * bit_rate);
int * sample_rate, int * bit_rate);
int a52_frame (a52_state_t * state, uint8_t * buf, int * flags,
int a52_frame (a52_state_t * state, uint8_t * buf, int * flags,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment