Merge commit 'f7b240434c015056bc6319ddbdb8483757cc13e2'

* commit 'f7b240434c015056bc6319ddbdb8483757cc13e2':
  segment: Set the resend_headers flag for each segment

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/head
Michael Niedermayer 12 years ago
commit b26cbf75bc
  1. 3
      libavformat/segment.c

@ -144,6 +144,9 @@ static int segment_start(AVFormatContext *s, int write_header)
&s->interrupt_callback, NULL)) < 0)
return err;
if (oc->oformat->priv_class && oc->priv_data)
av_opt_set(oc->priv_data, "resend_headers", "1", 0);
if (write_header) {
if ((err = avformat_write_header(oc, NULL)) < 0)
return err;

Loading…
Cancel
Save