mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avutil/dict: Unavpriv avpriv_dict_set_timestamp()
And move it to lavf, its only user. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b306683d12
commit
c389d9ac78
10 changed files with 36 additions and 67 deletions
|
|
@ -20,7 +20,6 @@
|
|||
*/
|
||||
|
||||
#include "libavutil/dict.h"
|
||||
#include "libavutil/dict_internal.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/log.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
|
@ -157,6 +156,6 @@ int ff_standardize_creation_time(AVFormatContext *s)
|
|||
int64_t timestamp;
|
||||
int ret = ff_parse_creation_time_metadata(s, ×tamp, 0);
|
||||
if (ret == 1)
|
||||
return avpriv_dict_set_timestamp(&s->metadata, "creation_time", timestamp);
|
||||
return ff_dict_set_timestamp(&s->metadata, "creation_time", timestamp);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue