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
3c65c156
Commit
3c65c156
authored
Feb 14, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increased probing size for ac3/dts in wav (close #3298).
parent
7c7ad3b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/demux/mpeg/es.c
modules/demux/mpeg/es.c
+2
-3
No files found.
modules/demux/mpeg/es.c
View file @
3c65c156
...
...
@@ -529,10 +529,9 @@ static int GenericProbe( demux_t *p_demux, int64_t *pi_offset,
/* peek the begining
* It is common that wav files have some sort of garbage at the begining
* We suppose that 8000 will be larger than any frame (for which pf_check
* return a size).
* We will accept probing 0.5s of data in this case.
*/
const
int
i_probe
=
i_skip
+
i_check_size
+
8000
+
(
b_wav
?
8000
:
0
);
const
int
i_probe
=
i_skip
+
i_check_size
+
8000
+
(
b_wav
?
(
44000
/
2
*
2
*
2
)
:
0
);
const
int
i_peek
=
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
i_probe
);
if
(
i_peek
<
i_skip
+
i_check_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