summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-04 23:09:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-04 23:14:31 +0200
commit65abce67b52c920d1f6f691a883ec787773916fd (patch)
treeced83a0f39954489983f5a461f9d79ae8cede011
parent35b02732b98c1e2e862dc78476d8bc527af1c93c (diff)
avformat/movenc: allow negative TS for the ipod muxer
Fixes Ticket2708 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 47d1cd79c6..3d4ce2dcd3 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -4070,7 +4070,7 @@ AVOutputFormat ff_ipod_muxer = {
.write_header = mov_write_header,
.write_packet = mov_write_packet,
.write_trailer = mov_write_trailer,
- .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+ .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE,
.codec_tag = (const AVCodecTag* const []){ codec_ipod_tags, 0 },
.priv_class = &ipod_muxer_class,
};