Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
868b85c2
Commit
868b85c2
authored
May 03, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in avcodec audio.
parent
96c92ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/avcodec/audio.c
modules/codec/avcodec/audio.c
+2
-2
No files found.
modules/codec/avcodec/audio.c
View file @
868b85c2
...
@@ -297,10 +297,10 @@ aout_buffer_t * DecodeAudio ( decoder_t *p_dec, block_t **pp_block )
...
@@ -297,10 +297,10 @@ aout_buffer_t * DecodeAudio ( decoder_t *p_dec, block_t **pp_block )
}
}
i_output
=
__MAX
(
p_block
->
i_buffer
,
p_sys
->
i_output_max
);
i_output
=
__MAX
(
p_block
->
i_buffer
,
p_sys
->
i_output_max
);
if
(
i_output
<
p_sys
->
i_output_max
)
if
(
i_output
>
p_sys
->
i_output_max
)
{
{
/* Grow output buffer if necessary (eg. for PCM data) */
/* Grow output buffer if necessary (eg. for PCM data) */
p_sys
->
p_output
=
realloc
(
p_sys
->
p_output
,
p_block
->
i_buffer
);
p_sys
->
p_output
=
realloc
(
p_sys
->
p_output
,
i_output
);
}
}
*
pp_block
=
p_block
=
block_Realloc
(
p_block
,
0
,
p_block
->
i_buffer
+
FF_INPUT_BUFFER_PADDING_SIZE
);
*
pp_block
=
p_block
=
block_Realloc
(
p_block
,
0
,
p_block
->
i_buffer
+
FF_INPUT_BUFFER_PADDING_SIZE
);
...
...
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