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
3ee38030
Commit
3ee38030
authored
Jul 16, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
real demux: use VLC_FOURCC
parent
b3ff877a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
modules/demux/real.c
modules/demux/real.c
+3
-8
No files found.
modules/demux/real.c
View file @
3ee38030
...
@@ -1574,7 +1574,7 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
...
@@ -1574,7 +1574,7 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
}
}
break
;
break
;
case
VLC_
FOURCC
(
's'
,
'i'
,
'p'
,
'r'
)
:
case
VLC_
CODEC_SIPR
:
fmt
.
i_codec
=
VLC_CODEC_SIPR
;
fmt
.
i_codec
=
VLC_CODEC_SIPR
;
if
(
i_flavor
>
3
)
if
(
i_flavor
>
3
)
{
{
...
@@ -1590,8 +1590,8 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
...
@@ -1590,8 +1590,8 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
fmt
.
i_bitrate
=
fmt
.
audio
.
i_rate
;
fmt
.
i_bitrate
=
fmt
.
audio
.
i_rate
;
msg_Dbg
(
p_demux
,
" - sipr flavor=%i"
,
i_flavor
);
msg_Dbg
(
p_demux
,
" - sipr flavor=%i"
,
i_flavor
);
case
VLC_
FOURCC
(
'c'
,
'o'
,
'o'
,
'k'
)
:
case
VLC_
CODEC_COOK
:
case
VLC_
FOURCC
(
'a'
,
't'
,
'r'
,
'c'
)
:
case
VLC_
CODEC_ATRAC3
:
if
(
i_subpacket_size
<=
0
||
i_frame_size
/
i_subpacket_size
<=
0
)
if
(
i_subpacket_size
<=
0
||
i_frame_size
/
i_subpacket_size
<=
0
)
{
{
es_format_Clean
(
&
fmt
);
es_format_Clean
(
&
fmt
);
...
@@ -1602,11 +1602,6 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
...
@@ -1602,11 +1602,6 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
else
else
fmt
.
audio
.
i_blockalign
=
i_coded_frame_size
;
fmt
.
audio
.
i_blockalign
=
i_coded_frame_size
;
if
(
fmt
.
i_codec
==
VLC_FOURCC
(
'c'
,
'o'
,
'o'
,
'k'
)
)
fmt
.
i_codec
=
VLC_CODEC_COOK
;
else
if
(
fmt
.
i_codec
==
VLC_FOURCC
(
'a'
,
't'
,
'r'
,
'c'
)
)
fmt
.
i_codec
=
VLC_CODEC_ATRAC3
;
if
(
i_extra_codec
>
0
)
if
(
i_extra_codec
>
0
)
{
{
fmt
.
p_extra
=
malloc
(
i_extra_codec
);
fmt
.
p_extra
=
malloc
(
i_extra_codec
);
...
...
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