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
4c3fa5a9
Commit
4c3fa5a9
authored
May 09, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* faad: better support of AAC without ESDS.
parent
5b0429b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
modules/codec/faad/decoder.c
modules/codec/faad/decoder.c
+9
-1
No files found.
modules/codec/faad/decoder.c
View file @
4c3fa5a9
...
...
@@ -2,7 +2,7 @@
* decoder.c: AAC decoder using libfaad2
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: decoder.c,v 1.2
2 2003/03/30 18:14:36 gbazin
Exp $
* $Id: decoder.c,v 1.2
3 2003/05/09 19:53:51 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -208,6 +208,14 @@ static int InitThread( adec_thread_t * p_adec )
int
i_frame_size
;
pes_packet_t
*
p_pes
;
faacDecConfigurationPtr
cfg
;
cfg
=
faacDecGetCurrentConfiguration
(
p_adec
->
p_handle
);
if
(
p_wf
->
nSamplesPerSec
>
0
)
{
cfg
->
defSampleRate
=
p_wf
->
nSamplesPerSec
;
}
faacDecSetConfiguration
(
p_adec
->
p_handle
,
cfg
);
msg_Warn
(
p_adec
->
p_fifo
,
"DecoderSpecificInfo missing, trying with first frame"
);
// gather first frame
...
...
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