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
1063d36a
Commit
1063d36a
authored
Oct 29, 2002
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg/audio.c: compilation fix for ffmpeg builds < 4618
parent
f5991d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.c
+3
-1
No files found.
modules/codec/ffmpeg/audio.c
View file @
1063d36a
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* audio.c: audio decoder using ffmpeg library
* audio.c: audio decoder using ffmpeg library
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: audio.c,v 1.
1 2002/10/28 06:26:11 fenrir
Exp $
* $Id: audio.c,v 1.
2 2002/10/29 10:22:32 gbazin
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -122,7 +122,9 @@ int E_( InitThread_Audio )( adec_thread_t *p_adec )
...
@@ -122,7 +122,9 @@ int E_( InitThread_Audio )( adec_thread_t *p_adec )
/* ***** Fill p_context with init values ***** */
/* ***** Fill p_context with init values ***** */
p_adec
->
p_context
->
sample_rate
=
p_adec
->
format
.
i_samplespersec
;
p_adec
->
p_context
->
sample_rate
=
p_adec
->
format
.
i_samplespersec
;
p_adec
->
p_context
->
channels
=
p_adec
->
format
.
i_channels
;
p_adec
->
p_context
->
channels
=
p_adec
->
format
.
i_channels
;
#if LIBAVCODEC_BUILD >= 4618
p_adec
->
p_context
->
block_align
=
p_adec
->
format
.
i_blockalign
;
p_adec
->
p_context
->
block_align
=
p_adec
->
format
.
i_blockalign
;
#endif
p_adec
->
p_context
->
bit_rate
=
p_adec
->
format
.
i_avgbytespersec
*
8
;
p_adec
->
p_context
->
bit_rate
=
p_adec
->
format
.
i_avgbytespersec
*
8
;
if
(
(
p_adec
->
p_context
->
extradata_size
=
p_adec
->
format
.
i_size
)
>
0
)
if
(
(
p_adec
->
p_context
->
extradata_size
=
p_adec
->
format
.
i_size
)
>
0
)
...
...
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