diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-17 17:12:43 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-20 22:48:28 +0100 |
commit | 2b31aa88955adcc392ace1f8e026f4c820fbd66b (patch) | |
tree | 2c7cb84367069b5362d1c56d7c70fdbd3090922f /libavformat | |
parent | b6c05879eaead551fe5bfd0dc8e1d4eef7d4179f (diff) | |
download | ffmpeg-2b31aa88955adcc392ace1f8e026f4c820fbd66b.tar.gz |
lavf/segment: unbreak behavior for segment muxer
The segment muxer presumes the use of AVFMT_GLOBALHEADER, ssegment should
be use in case of formats which requires no global headers.
Regression introduced when merging
0826d8513d14f54da0b519360813327d5836b7fc.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c index c3681d4700..0dd9faf7f6 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -561,7 +561,7 @@ AVOutputFormat ff_segment_muxer = { .name = "segment", .long_name = NULL_IF_CONFIG_SMALL("segment"), .priv_data_size = sizeof(SegmentContext), - .flags = AVFMT_NOFILE, + .flags = AVFMT_NOFILE|AVFMT_GLOBALHEADER, .write_header = seg_write_header, .write_packet = seg_write_packet, .write_trailer = seg_write_trailer, |