Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
814c882d
Commit
814c882d
authored
Mar 10, 2003
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/codec/dts.c: minor fix.
parent
0c1fdd96
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
modules/codec/dts.c
modules/codec/dts.c
+11
-2
No files found.
modules/codec/dts.c
View file @
814c882d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* dts.c: DTS basic parser
* dts.c: DTS basic parser
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: dts.c,v 1.
1 2003/03/09 20:07:47
jlj Exp $
* $Id: dts.c,v 1.
2 2003/03/10 08:23:45
jlj Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
*
...
@@ -400,8 +400,17 @@ static int SyncInfo( const byte_t * p_buf, unsigned int * pi_channels,
...
@@ -400,8 +400,17 @@ static int SyncInfo( const byte_t * p_buf, unsigned int * pi_channels,
break
;
break
;
default:
default:
if
(
i_audio_mode
<=
63
)
{
/* User defined */
*
pi_channels
=
0
;
}
else
{
return
(
0
);
return
(
0
);
}
}
break
;
}
if
(
i_sample_rate
>=
sizeof
(
ppi_dts_samplerate
)
/
if
(
i_sample_rate
>=
sizeof
(
ppi_dts_samplerate
)
/
sizeof
(
ppi_dts_samplerate
[
0
]
)
)
sizeof
(
ppi_dts_samplerate
[
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