Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
9c2651ab
Commit
9c2651ab
authored
Jul 19, 2011
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parseutils: add some documentation for small_strptime()
parent
3b8bb503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
parseutils.c
libavutil/parseutils.c
+10
-1
No files found.
libavutil/parseutils.c
View file @
9c2651ab
...
@@ -401,7 +401,16 @@ static int date_get_num(const char **pp,
...
@@ -401,7 +401,16 @@ static int date_get_num(const char **pp,
return
val
;
return
val
;
}
}
/* small strptime for ffmpeg */
/**
* Parse the input string p according to the format string fmt and
* store its results in the structure dt.
* This implementation supports only a subset of the formats supported
* by the standard strptime().
*
* @return a pointer to the first character not processed in this
* function call, or NULL in case the function fails to match all of
* the fmt string and therefore an error occurred
*/
static
static
const
char
*
small_strptime
(
const
char
*
p
,
const
char
*
fmt
,
const
char
*
small_strptime
(
const
char
*
p
,
const
char
*
fmt
,
struct
tm
*
dt
)
struct
tm
*
dt
)
...
...
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