Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bf805a8b
Commit
bf805a8b
authored
Jan 08, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mp4/libmp4.c: use vasprintf
* modules/access/ftp.c: cleaned up.
parent
516fba50
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
163 additions
and
542 deletions
+163
-542
modules/access/ftp.c
modules/access/ftp.c
+162
-531
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+1
-11
No files found.
modules/access/ftp.c
View file @
bf805a8b
This diff is collapsed.
Click to expand it.
modules/demux/mp4/libmp4.c
View file @
bf805a8b
...
...
@@ -2,7 +2,7 @@
* libmp4.c : LibMP4 library for mp4 module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libmp4.c,v 1.4
1 2004/01/06 01:41:10 jlj
Exp $
* $Id: libmp4.c,v 1.4
2 2004/01/08 00:37:18 fenrir
Exp $
*
* Author: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -2460,9 +2460,6 @@ static void __MP4_BoxGet( MP4_Box_t **pp_result,
MP4_Box_t
*
p_box
,
char
*
psz_fmt
,
va_list
args
)
{
char
*
psz_path
;
#if !defined(HAVE_VASPRINTF) || defined(SYS_DARWIN) || defined(SYS_BEOS)
size_t
i_size
;
#endif
if
(
!
p_box
)
{
...
...
@@ -2470,14 +2467,7 @@ static void __MP4_BoxGet( MP4_Box_t **pp_result,
return
;
}
#if defined(HAVE_VASPRINTF) && !defined(SYS_DARWIN) && !defined(SYS_BEOS)
vasprintf
(
&
psz_path
,
psz_fmt
,
args
);
#else
i_size
=
strlen
(
psz_fmt
)
+
1024
;
psz_path
=
calloc
(
i_size
,
sizeof
(
char
)
);
vsnprintf
(
psz_path
,
i_size
,
psz_fmt
,
args
);
psz_path
[
i_size
-
1
]
=
0
;
#endif
if
(
!
psz_path
||
!
psz_path
[
0
]
)
{
...
...
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