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
b28de531
Commit
b28de531
authored
Sep 08, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_filter/converter/*: a couple of fixes for transcoding.
parent
9e267491
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/a52tofloat32.c
+2
-1
modules/audio_filter/converter/dtstofloat32.c
modules/audio_filter/converter/dtstofloat32.c
+1
-1
modules/audio_filter/converter/mpgatofixed32.c
modules/audio_filter/converter/mpgatofixed32.c
+4
-1
No files found.
modules/audio_filter/converter/a52tofloat32.c
View file @
b28de531
...
...
@@ -471,7 +471,7 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
i_out_size
=
p_block
->
i_samples
*
p_filter
->
fmt_out
.
audio
.
i_bitspersample
*
p_filter
->
fmt_out
.
audio
.
i_channels
;
p_filter
->
fmt_out
.
audio
.
i_channels
/
8
;
p_out
=
p_filter
->
pf_audio_buffer_new
(
p_filter
,
i_out_size
);
if
(
!
p_out
)
...
...
@@ -502,6 +502,7 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
DoWork
(
(
aout_instance_t
*
)
p_filter
,
&
aout_filter
,
&
in_buf
,
&
out_buf
);
p_out
->
i_buffer
=
out_buf
.
i_nb_bytes
;
p_out
->
i_samples
=
out_buf
.
i_nb_samples
;
p_block
->
pf_release
(
p_block
);
...
...
modules/audio_filter/converter/dtstofloat32.c
View file @
b28de531
...
...
@@ -455,7 +455,7 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
i_out_size
=
p_block
->
i_samples
*
p_filter
->
fmt_out
.
audio
.
i_bitspersample
*
p_filter
->
fmt_out
.
audio
.
i_channels
;
p_filter
->
fmt_out
.
audio
.
i_channels
/
8
;
p_out
=
p_filter
->
pf_audio_buffer_new
(
p_filter
,
i_out_size
);
if
(
!
p_out
)
...
...
modules/audio_filter/converter/mpgatofixed32.c
View file @
b28de531
...
...
@@ -299,7 +299,7 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
i_out_size
=
p_block
->
i_samples
*
p_filter
->
fmt_out
.
audio
.
i_bitspersample
*
p_filter
->
fmt_out
.
audio
.
i_channels
;
p_filter
->
fmt_out
.
audio
.
i_channels
/
8
;
p_out
=
p_filter
->
pf_audio_buffer_new
(
p_filter
,
i_out_size
);
if
(
!
p_out
)
...
...
@@ -331,5 +331,8 @@ static block_t *Convert( filter_t *p_filter, block_t *p_block )
p_block
->
pf_release
(
p_block
);
p_out
->
i_buffer
=
out_buf
.
i_nb_bytes
;
p_out
->
i_samples
=
out_buf
.
i_nb_samples
;
return
p_out
;
}
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