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
46dfa888
Commit
46dfa888
authored
Oct 02, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mkv.cpp: cosmetics
parent
f0e39102
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+10
-8
No files found.
modules/demux/mkv.cpp
View file @
46dfa888
...
...
@@ -280,7 +280,7 @@ typedef struct
char
*
psz_codec_download_url
;
/* encryption/compression */
vlc_bool_t
b_compression_zlib
;
int
i_compression_type
;
}
mkv_track_t
;
...
...
@@ -1118,16 +1118,18 @@ static void BlockDecode( demux_t *p_demux, KaxBlock *block, mtime_t i_pts,
DataBuffer
&
data
=
block
->
GetBuffer
(
i
);
p_block
=
MemToBlock
(
p_demux
,
data
.
Buffer
(),
data
.
Size
()
);
if
(
p_block
==
NULL
)
{
break
;
}
#if defined(HAVE_ZLIB_H)
if
(
p_block
!=
NULL
&&
tk
.
b_compression_zlib
)
if
(
tk
.
i_compression_type
)
{
p_block
=
block_zlib_decompress
(
VLC_OBJECT
(
p_demux
),
p_block
);
}
#endif
if
(
p_block
==
NULL
)
{
break
;
}
if
(
tk
.
fmt
.
i_cat
!=
VIDEO_ES
)
p_block
->
i_dts
=
p_block
->
i_pts
=
i_pts
;
...
...
@@ -1884,7 +1886,7 @@ static void ParseTrackEntry( demux_t *p_demux, EbmlMaster *m )
tk
->
psz_codec_info_url
=
NULL
;
tk
->
psz_codec_download_url
=
NULL
;
tk
->
b_compression_zlib
=
VLC_FALS
E
;
tk
->
i_compression_type
=
MATROSKA_COMPRESSION_NON
E
;
for
(
i
=
0
;
i
<
m
->
ListSize
();
i
++
)
{
...
...
@@ -2060,7 +2062,7 @@ static void ParseTrackEntry( demux_t *p_demux, EbmlMaster *m )
MkvTree
(
p_demux
,
6
,
"Compression Algorithm: %i"
,
uint32
(
compalg
)
);
if
(
uint32
(
compalg
)
==
0
)
{
tk
->
b_compression_zlib
=
VLC_TRUE
;
tk
->
i_compression_type
=
MATROSKA_COMPRESSION_ZLIB
;
}
}
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