diff --git a/libavformat/ogg.c b/libavformat/ogg.c index 9151467614..00c9f3ffd0 100644 --- a/libavformat/ogg.c +++ b/libavformat/ogg.c @@ -170,8 +170,6 @@ static int ogg_read_header(AVFormatContext *avfcontext, AVFormatParameters *ap) uint8_t *p; int i; - avfcontext->ctx_flags |= AVFMTCTX_NOHEADER; - ogg_sync_init(&context->oy) ; buf = ogg_sync_buffer(&context->oy, DECODER_BUFFER_SIZE) ;