Revision da24c5e3 libavformat/mpeg.c

View differences:

libavformat/mpeg.c
479 479
{
480 480
    MpegDemuxContext *m = s->priv_data;
481 481
    m->header_state = 0xff;
482
    s->ctx_flags |= AVFMTCTX_NOHEADER;
483

  
482 484
    /* no need to do more */
483 485
    return 0;
484 486
}
......
705 707
    mpegps_read_header,
706 708
    mpegps_read_packet,
707 709
    mpegps_read_close,
708
    .flags = AVFMT_NOHEADER,
709 710
};
710 711

  
711 712
int mpegps_init(void)

Also available in: Unified diff