You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02: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:
committed by
James Almer
parent
b306683d12
commit
c389d9ac78
@@ -21,7 +21,6 @@
|
||||
*/
|
||||
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/dict_internal.h"
|
||||
#include "avformat.h"
|
||||
#include "demux.h"
|
||||
#include "internal.h"
|
||||
@@ -96,7 +95,7 @@ static int parse_header(AVFormatContext *s)
|
||||
uint32_t vid_magic;
|
||||
|
||||
avio_skip(s->pb, 0x34);
|
||||
avpriv_dict_set_timestamp(&s->metadata, "creation_time", avio_rl32(s->pb) * 1000000LL);
|
||||
ff_dict_set_timestamp(&s->metadata, "creation_time", avio_rl32(s->pb) * 1000000LL);
|
||||
avio_skip(s->pb, 0x24);
|
||||
|
||||
ifv->width = avio_rl16(s->pb);
|
||||
|
||||
Reference in New Issue
Block a user