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
09ec87b0
Commit
09ec87b0
authored
Sep 03, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avcodec: safeguard for people not using the latest libavcodec
parent
61ad0da5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/codec/avcodec/audio.c
modules/codec/avcodec/audio.c
+2
-0
No files found.
modules/codec/avcodec/audio.c
View file @
09ec87b0
...
@@ -191,9 +191,11 @@ int InitAudioDec( decoder_t *p_dec, AVCodecContext *p_context,
...
@@ -191,9 +191,11 @@ int InitAudioDec( decoder_t *p_dec, AVCodecContext *p_context,
case
CODEC_ID_FLAC
:
case
CODEC_ID_FLAC
:
p_sys
->
i_output_max
=
8
*
sizeof
(
int32_t
)
*
65535
;
p_sys
->
i_output_max
=
8
*
sizeof
(
int32_t
)
*
65535
;
break
;
break
;
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 35, 0 )
case
CODEC_ID_WMAPRO
:
case
CODEC_ID_WMAPRO
:
p_sys
->
i_output_max
=
8
*
sizeof
(
float
)
*
6145
;
/* (1 << 12) * 3/2 */
p_sys
->
i_output_max
=
8
*
sizeof
(
float
)
*
6145
;
/* (1 << 12) * 3/2 */
break
;
break
;
#endif
default:
default:
p_sys
->
i_output_max
=
0
;
p_sys
->
i_output_max
=
0
;
break
;
break
;
...
...
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