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
f1302d9c
Commit
f1302d9c
authored
May 02, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic and brackets.
parent
bf9e2915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/real.c
modules/demux/real.c
+5
-5
No files found.
modules/demux/real.c
View file @
f1302d9c
...
@@ -508,17 +508,17 @@ static int Demux( demux_t *p_demux )
...
@@ -508,17 +508,17 @@ static int Demux( demux_t *p_demux )
}
}
else
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'c'
,
'o'
,
'o'
,
'k'
)
||
else
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'c'
,
'o'
,
'o'
,
'k'
)
||
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'a'
,
't'
,
'r'
,
'c'
)
||
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'a'
,
't'
,
'r'
,
'c'
)
||
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'2'
,
'8'
,
'_'
,
'8'
)
)
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'2'
,
'8'
,
'_'
,
'8'
)
)
{
{
uint8_t
*
p_buf
=
p_sys
->
buffer
;
uint8_t
*
p_buf
=
p_sys
->
buffer
;
int
y
=
tk
->
i_subpacket
/
(
tk
->
i_frame_size
/
tk
->
i_subpacket_size
);
int
y
=
tk
->
i_subpacket
/
(
tk
->
i_frame_size
/
tk
->
i_subpacket_size
);
int
i_index
,
i
;
int
i_index
,
i
;
/* Sanity check */
/* Sanity check */
if
(
i_flags
&
2
)
y
=
tk
->
i_subpacket
=
0
;
if
(
i_flags
&
2
)
y
=
tk
->
i_subpacket
=
0
;
if
(
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'c'
,
'o'
,
'o'
,
'k'
)
||
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'c'
,
'o'
,
'o'
,
'k'
)
||
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'a'
,
't'
,
'r'
,
'c'
))
)
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'a'
,
't'
,
'r'
,
'c'
)
)
for
(
i
=
0
;
i
<
tk
->
i_frame_size
/
tk
->
i_subpacket_size
;
i
++
)
for
(
i
=
0
;
i
<
tk
->
i_frame_size
/
tk
->
i_subpacket_size
;
i
++
)
{
{
block_t
*
p_block
=
block_New
(
p_demux
,
tk
->
i_subpacket_size
);
block_t
*
p_block
=
block_New
(
p_demux
,
tk
->
i_subpacket_size
);
...
@@ -533,7 +533,7 @@ static int Demux( demux_t *p_demux )
...
@@ -533,7 +533,7 @@ static int Demux( demux_t *p_demux )
tk
->
i_subpacket
++
;
tk
->
i_subpacket
++
;
}
}
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'2'
,
'8'
,
'_'
,
'8'
)
)
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'2'
,
'8'
,
'_'
,
'8'
)
)
for
(
i
=
0
;
i
<
tk
->
i_subpacket_h
/
2
;
i
++
)
for
(
i
=
0
;
i
<
tk
->
i_subpacket_h
/
2
;
i
++
)
{
{
block_t
*
p_block
=
block_New
(
p_demux
,
tk
->
i_coded_frame_size
);
block_t
*
p_block
=
block_New
(
p_demux
,
tk
->
i_coded_frame_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