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
f41dff04
Commit
f41dff04
authored
Aug 01, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mp4: with ref .mov, don't forget to add the access.
parent
af1086d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+4
-3
No files found.
modules/demux/mp4/mp4.c
View file @
f41dff04
...
...
@@ -366,15 +366,16 @@ static int Open( vlc_object_t * p_this )
else
{
/* msg dbg relative ? */
char
*
psz_absolute
=
alloca
(
strlen
(
p_demux
->
psz_path
)
+
strlen
(
psz_ref
)
+
1
);
char
*
psz_absolute
=
alloca
(
strlen
(
p_demux
->
psz_
access
)
+
3
+
strlen
(
p_demux
->
psz_
path
)
+
strlen
(
psz_ref
)
+
1
);
char
*
end
=
strrchr
(
p_demux
->
psz_path
,
'/'
);
if
(
end
)
{
int
i_len
=
end
+
1
-
p_demux
->
psz_path
;
strncpy
(
psz_absolute
,
p_demux
->
psz_path
,
i_len
);
psz_absolute
[
i_len
]
=
'\0'
;
strcpy
(
psz_absolute
,
p_demux
->
psz_access
);
strcat
(
psz_absolute
,
"://"
);
strncat
(
psz_absolute
,
p_demux
->
psz_path
,
i_len
);
}
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