Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
aa446d2c
Commit
aa446d2c
authored
May 22, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVI: try again to fix metadata issue: #4765
parent
77ae11cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+2
-2
No files found.
modules/demux/avi/libavi.c
View file @
aa446d2c
...
@@ -626,13 +626,13 @@ static int AVI_ChunkRead_strz( stream_t *s, avi_chunk_t *p_chk )
...
@@ -626,13 +626,13 @@ static int AVI_ChunkRead_strz( stream_t *s, avi_chunk_t *p_chk )
}
}
}
}
p_strz
->
p_type
=
strdup
(
AVI_strz_type
[
i_index
].
psz_type
);
p_strz
->
p_type
=
strdup
(
AVI_strz_type
[
i_index
].
psz_type
);
p_strz
->
p_str
=
malloc
(
i_read
+
1
);
p_strz
->
p_str
=
malloc
(
p_strz
->
i_chunk_size
+
1
);
if
(
p_strz
->
i_chunk_size
)
if
(
p_strz
->
i_chunk_size
)
{
{
memcpy
(
p_strz
->
p_str
,
p_read
,
p_strz
->
i_chunk_size
);
memcpy
(
p_strz
->
p_str
,
p_read
,
p_strz
->
i_chunk_size
);
}
}
p_strz
->
p_str
[
i_read
]
=
0
;
p_strz
->
p_str
[
p_strz
->
i_chunk_size
]
=
0
;
#ifdef AVI_DEBUG
#ifdef AVI_DEBUG
msg_Dbg
(
(
vlc_object_t
*
)
s
,
"%4.4s: %s : %s"
,
msg_Dbg
(
(
vlc_object_t
*
)
s
,
"%4.4s: %s : %s"
,
...
...
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