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
6ce7b33f
Commit
6ce7b33f
authored
Jul 21, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shine: cleanup
parent
e55ef0eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/codec/shine/shine_mod.c
modules/codec/shine/shine_mod.c
+2
-1
No files found.
modules/codec/shine/shine_mod.c
View file @
6ce7b33f
...
@@ -181,13 +181,14 @@ buffered:
...
@@ -181,13 +181,14 @@ buffered:
static
block_t
*
EncodeFrame
(
encoder_t
*
p_enc
,
aout_buffer_t
*
p_block
)
static
block_t
*
EncodeFrame
(
encoder_t
*
p_enc
,
aout_buffer_t
*
p_block
)
{
{
encoder_sys_t
*
p_sys
=
(
encoder_sys_t
*
)
p_enc
->
p_sys
;
block_t
*
p_pcm_block
;
block_t
*
p_pcm_block
;
block_t
*
p_chain
=
NULL
;
block_t
*
p_chain
=
NULL
;
unsigned
int
i_samples
=
p_block
->
i_nb_bytes
>>
2
/* s16l stereo */
;
unsigned
int
i_samples
=
p_block
->
i_nb_bytes
>>
2
/* s16l stereo */
;
mtime_t
start_date
=
p_block
->
start_date
;
mtime_t
start_date
=
p_block
->
start_date
;
start_date
-=
(
mtime_t
)
i_samples
*
(
mtime_t
)
1000000
/
(
mtime_t
)
p_enc
->
fmt_out
.
audio
.
i_rate
;
start_date
-=
(
mtime_t
)
i_samples
*
(
mtime_t
)
1000000
/
(
mtime_t
)
p_enc
->
fmt_out
.
audio
.
i_rate
;
VLC_UNUSED
(
p_enc
);
do
{
do
{
p_pcm_block
=
GetPCM
(
p_enc
,
p_block
);
p_pcm_block
=
GetPCM
(
p_enc
,
p_block
);
if
(
!
p_pcm_block
)
if
(
!
p_pcm_block
)
...
...
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