Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
1cccba5c
Commit
1cccba5c
authored
Dec 20, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/araw.c: added "mlaw" as a fourcc for ulaw audio.
parent
28694bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/codec/araw.c
modules/codec/araw.c
+4
-2
No files found.
modules/codec/araw.c
View file @
1cccba5c
...
...
@@ -2,7 +2,7 @@
* araw.c: Pseudo audio decoder; for raw pcm data
*****************************************************************************
* Copyright (C) 2001, 2003 VideoLAN
* $Id: araw.c,v 1.2
6 2003/12/16 16:51:10
gbazin Exp $
* $Id: araw.c,v 1.2
7 2003/12/20 16:11:11
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -164,6 +164,7 @@ static int DecoderOpen( vlc_object_t *p_this )
case
VLC_FOURCC
(
'a'
,
'l'
,
'a'
,
'w'
):
case
VLC_FOURCC
(
'u'
,
'l'
,
'a'
,
'w'
):
case
VLC_FOURCC
(
'm'
,
'l'
,
'a'
,
'w'
):
break
;
default:
...
...
@@ -283,7 +284,8 @@ static int DecoderOpen( vlc_object_t *p_this )
p_sys
->
p_logtos16
=
alawtos16
;
p_dec
->
fmt_in
.
audio
.
i_bitspersample
=
8
;
}
else
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_FOURCC
(
'u'
,
'l'
,
'a'
,
'w'
)
)
else
if
(
p_dec
->
fmt_in
.
i_codec
==
VLC_FOURCC
(
'u'
,
'l'
,
'a'
,
'w'
)
||
p_dec
->
fmt_in
.
i_codec
==
VLC_FOURCC
(
'm'
,
'l'
,
'a'
,
'w'
)
)
{
p_dec
->
fmt_out
.
i_codec
=
AOUT_FMT_S16_NE
;
p_sys
->
p_logtos16
=
ulawtos16
;
...
...
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