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
a573e6c1
Commit
a573e6c1
authored
Feb 06, 2016
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/utils: remove ff_iso8601_to_unix_time
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
66e85a18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
internal.h
libavformat/internal.h
+0
-5
utils.c
libavformat/utils.c
+0
-12
No files found.
libavformat/internal.h
View file @
a573e6c1
...
@@ -320,11 +320,6 @@ void ff_reduce_index(AVFormatContext *s, int stream_index);
...
@@ -320,11 +320,6 @@ void ff_reduce_index(AVFormatContext *s, int stream_index);
enum
AVCodecID
ff_guess_image2_codec
(
const
char
*
filename
);
enum
AVCodecID
ff_guess_image2_codec
(
const
char
*
filename
);
/**
* Convert a date string in ISO8601 format to Unix timestamp.
*/
int64_t
ff_iso8601_to_unix_time
(
const
char
*
datestr
);
/**
/**
* Perform a binary search using av_index_search_timestamp() and
* Perform a binary search using av_index_search_timestamp() and
* AVInputFormat.read_timestamp().
* AVInputFormat.read_timestamp().
...
...
libavformat/utils.c
View file @
a573e6c1
...
@@ -4234,18 +4234,6 @@ int ff_find_stream_index(AVFormatContext *s, int id)
...
@@ -4234,18 +4234,6 @@ int ff_find_stream_index(AVFormatContext *s, int id)
return
-
1
;
return
-
1
;
}
}
int64_t
ff_iso8601_to_unix_time
(
const
char
*
datestr
)
{
struct
tm
time1
=
{
0
},
time2
=
{
0
};
const
char
*
ret1
,
*
ret2
;
ret1
=
av_small_strptime
(
datestr
,
"%Y - %m - %d %T"
,
&
time1
);
ret2
=
av_small_strptime
(
datestr
,
"%Y - %m - %dT%T"
,
&
time2
);
if
(
ret2
&&
!
ret1
)
return
av_timegm
(
&
time2
);
else
return
av_timegm
(
&
time1
);
}
int
avformat_query_codec
(
const
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
avformat_query_codec
(
const
AVOutputFormat
*
ofmt
,
enum
AVCodecID
codec_id
,
int
std_compliance
)
int
std_compliance
)
{
{
...
...
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