Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
25a00dad
Commit
25a00dad
authored
Mar 03, 2003
by
Christophe Massiot
Browse files
* Fixed a bug in LPCM codec.
* Changed an error into a warning.
parent
2130ab44
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/codec/lpcm.c
View file @
25a00dad
...
...
@@ -2,7 +2,7 @@
* lpcm.c: lpcm decoder module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: lpcm.c,v 1.1
1
2003/0
2/11
1
1
:1
6
:0
4
massiot Exp $
* $Id: lpcm.c,v 1.1
2
2003/0
3/03
1
4
:1
9
:0
9
massiot Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Henri Fallon <henri@videolan.org>
...
...
@@ -202,12 +202,14 @@ static void DecodeFrame( dec_thread_t * p_dec )
i_rate
=
48000
;
break
;
case
1
:
i_rate
=
96000
;
break
;
case
2
:
i_rate
=
44100
;
break
;
case
3
:
i_rate
=
32000
;
break
;
default:
msg_Err
(
p_dec
->
p_fifo
,
"unsupported LPCM rate (0x%x)"
,
i_header
);
p_dec
->
p_fifo
->
b_error
=
1
;
return
;
}
switch
(
i_header
&
0x7
)
...
...
modules/demux/mpeg/ps.c
View file @
25a00dad
...
...
@@ -2,7 +2,7 @@
* ps.c : Program Stream input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: ps.c,v 1.
7
200
2/12
/0
6
1
6:34:07 sam
Exp $
* $Id: ps.c,v 1.
8
200
3/03
/0
3
1
4:19:09 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -95,7 +95,7 @@ static int Activate( vlc_object_t * p_this )
if
(
*
p_input
->
psz_demux
&&
!
strncmp
(
p_input
->
psz_demux
,
"ps"
,
3
)
)
{
/* User forced */
msg_
Err
(
p_input
,
"this does not look like an MPEG PS stream, continuing"
);
msg_
Warn
(
p_input
,
"this does not look like an MPEG PS stream, continuing"
);
}
else
{
...
...
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