summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/oggenc.c2
-rw-r--r--tests/ref/lavf/ogg2
2 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 53a1e21..e082a7e 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -541,6 +541,8 @@ static int ogg_write_header(AVFormatContext *s)
oggstream->page.start_granule = AV_NOPTS_VALUE;
+ ogg_write_pages(s, 1);
+
return 0;
}
diff --git a/tests/ref/lavf/ogg b/tests/ref/lavf/ogg
index ea827ac..ca62b26 100644
--- a/tests/ref/lavf/ogg
+++ b/tests/ref/lavf/ogg
@@ -1,3 +1,3 @@
-8ca901bc8d24b80ebe79e387e454d1e9 *./tests/data/lavf/lavf.ogg
+3c41e917d95f925eaa8f2e31972edcfa *./tests/data/lavf/lavf.ogg
13476 ./tests/data/lavf/lavf.ogg
./tests/data/lavf/lavf.ogg CRC=0x3a1da17e
OpenPOWER on IntegriCloud