summaryrefslogtreecommitdiff
path: root/libavformat/smjpegenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/smjpegenc.c')
-rw-r--r--libavformat/smjpegenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/smjpegenc.c b/libavformat/smjpegenc.c
index 430a497c6e..4553c8624c 100644
--- a/libavformat/smjpegenc.c
+++ b/libavformat/smjpegenc.c
@@ -46,6 +46,7 @@ static int smjpeg_write_header(AVFormatContext *s)
avio_wb32(pb, 0);
avio_wb32(pb, 0);
+ ff_standardize_creation_time(s);
while ((t = av_dict_get(s->metadata, "", t, AV_DICT_IGNORE_SUFFIX))) {
avio_wl32(pb, SMJPEG_TXT);
avio_wb32(pb, strlen(t->key) + strlen(t->value) + 3);