From f792d3cbb8e8e35c54a9358a55dd596b7a40f228 Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Thu, 29 May 2014 07:06:52 +0200
Subject: [PATCH] lavf: add the notimestamps flag to the muxers missing it

---
 libavformat/adtsenc.c | 1 +
 libavformat/amr.c     | 1 +
 libavformat/au.c      | 1 +
 libavformat/latmenc.c | 1 +
 libavformat/mpjpeg.c  | 1 +
 libavformat/omaenc.c  | 1 +
 libavformat/rsoenc.c  | 1 +
 libavformat/soxenc.c  | 1 +
 libavformat/vocenc.c  | 1 +
 9 files changed, 9 insertions(+)

diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
index e7c9ca6ce11..bf7a62ae70d 100644
--- a/libavformat/adtsenc.c
+++ b/libavformat/adtsenc.c
@@ -172,4 +172,5 @@ AVOutputFormat ff_adts_muxer = {
     .video_codec       = AV_CODEC_ID_NONE,
     .write_header      = adts_write_header,
     .write_packet      = adts_write_packet,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/amr.c b/libavformat/amr.c
index 3b1a468e34f..afd062ee36f 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -176,5 +176,6 @@ AVOutputFormat ff_amr_muxer = {
     .video_codec       = AV_CODEC_ID_NONE,
     .write_header      = amr_write_header,
     .write_packet      = amr_write_packet,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
diff --git a/libavformat/au.c b/libavformat/au.c
index 6b252b21ceb..e682cbf3058 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -215,6 +215,7 @@ AVOutputFormat ff_au_muxer = {
     .write_packet  = ff_raw_write_packet,
     .write_trailer = au_write_trailer,
     .codec_tag     = (const AVCodecTag* const []) { codec_au_tags, 0 },
+    .flags         = AVFMT_NOTIMESTAMPS,
 };
 
 #endif /* CONFIG_AU_MUXER */
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 7270292f7ae..e5e2f87a88d 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -188,4 +188,5 @@ AVOutputFormat ff_latm_muxer = {
     .write_header   = latm_write_header,
     .write_packet   = latm_write_packet,
     .priv_class     = &latm_muxer_class,
+    .flags          = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index 2114189244e..9e21099eaf5 100644
--- a/libavformat/mpjpeg.c
+++ b/libavformat/mpjpeg.c
@@ -62,4 +62,5 @@ AVOutputFormat ff_mpjpeg_muxer = {
     .write_header      = mpjpeg_write_header,
     .write_packet      = mpjpeg_write_packet,
     .write_trailer     = mpjpeg_write_trailer,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/omaenc.c b/libavformat/omaenc.c
index ea28e109c44..bfd552a03d3 100644
--- a/libavformat/omaenc.c
+++ b/libavformat/omaenc.c
@@ -102,4 +102,5 @@ AVOutputFormat ff_oma_muxer = {
     .write_header      = oma_write_header,
     .write_packet      = ff_raw_write_packet,
     .codec_tag         = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/rsoenc.c b/libavformat/rsoenc.c
index cc76f9afd2e..8ebcf8193b7 100644
--- a/libavformat/rsoenc.c
+++ b/libavformat/rsoenc.c
@@ -108,4 +108,5 @@ AVOutputFormat ff_rso_muxer = {
     .write_packet   =   rso_write_packet,
     .write_trailer  =   rso_write_trailer,
     .codec_tag      =   (const AVCodecTag* const []){ff_codec_rso_tags, 0},
+    .flags          =   AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/soxenc.c b/libavformat/soxenc.c
index 3e5d2e35158..4b8955c280a 100644
--- a/libavformat/soxenc.c
+++ b/libavformat/soxenc.c
@@ -125,4 +125,5 @@ AVOutputFormat ff_sox_muxer = {
     .write_header      = sox_write_header,
     .write_packet      = sox_write_packet,
     .write_trailer     = sox_write_trailer,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c
index d18eac2d958..ed10a96f7ab 100644
--- a/libavformat/vocenc.c
+++ b/libavformat/vocenc.c
@@ -101,4 +101,5 @@ AVOutputFormat ff_voc_muxer = {
     .write_packet      = voc_write_packet,
     .write_trailer     = voc_write_trailer,
     .codec_tag         = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
-- 
GitLab