Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d9e35782
Commit
d9e35782
authored
Jan 18, 2000
by
Michel Kaempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ac3_decoder/ac3_bit_allocate.c, ac3_decoder/ac3_decoder.c :
- ac3-alpha rewlz :-)
parent
217926d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
src/ac3_decoder/ac3_bit_allocate.c
src/ac3_decoder/ac3_bit_allocate.c
+2
-2
src/ac3_decoder/ac3_decoder.c
src/ac3_decoder/ac3_decoder.c
+4
-6
No files found.
src/ac3_decoder/ac3_bit_allocate.c
View file @
d9e35782
...
...
@@ -441,8 +441,8 @@ static void ba_compute_mask(s16 start, s16 end, u16 fscod,
}
for
(
k
=
0
;
k
<
deltlen
[
seg
];
k
++
)
{
//
mask[band] += delta;
band
++
;
mask
[
band
]
+=
delta
;
band
++
;
}
}
}
...
...
src/ac3_decoder/ac3_decoder.c
View file @
d9e35782
...
...
@@ -192,7 +192,7 @@ static void RunThread( ac3dec_thread_t * p_ac3dec )
{
int
i
;
mtime_t
mdate
=
0
;
byte_t
byte
;
//
byte_t byte;
intf_DbgMsg
(
"ac3dec debug: running ac3 decoder thread (%p) (pid == %i)
\n
"
,
p_ac3dec
,
getpid
()
);
...
...
@@ -202,13 +202,12 @@ static void RunThread( ac3dec_thread_t * p_ac3dec )
p_ac3dec
->
b_error
=
1
;
}
i
=
open
(
"/tmp/taxi.ac3"
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
);
//
i = open( "/tmp/taxi.ac3", O_WRONLY|O_CREAT|O_TRUNC );
/* ac3 decoder thread's main loop */
while
(
(
!
p_ac3dec
->
b_die
)
&&
(
!
p_ac3dec
->
b_error
)
)
{
byte
=
GetByte
(
&
(
p_ac3dec
->
bit_stream
)
);
write
(
i
,
&
byte
,
1
);
#if 0
// byte = GetByte( &(p_ac3dec->bit_stream) );
// write( i, &byte, 1 );
decode_find_sync
(
p_ac3dec
);
parse_syncinfo
(
p_ac3dec
);
parse_bsi
(
p_ac3dec
);
...
...
@@ -232,7 +231,6 @@ static void RunThread( ac3dec_thread_t * p_ac3dec )
mdate
+=
5333
;
}
parse_auxdata
(
p_ac3dec
);
#endif
}
close
(
i
);
...
...
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