summaryrefslogtreecommitdiff
path: root/libavformat/smjpegenc.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-02-28 03:11:34 +0100
committerMarton Balint <cus@passwd.hu>2016-03-03 01:37:18 +0100
commit28fbdece79d2f8d0df6669bbf577214de153a0bc (patch)
tree08ae7e11b2631a102fb1d31e327c2644e79e0a4b /libavformat/smjpegenc.c
parente7dd97b5d8cd6ea150446591f37a5946e8ab7cfb (diff)
downloadffmpeg-28fbdece79d2f8d0df6669bbf577214de153a0bc.tar.gz
avformat: use ff_standardize_creation_time for formats writing all format string metadata
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
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);