aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-28 00:57:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-28 01:00:10 +0200
commitb5657516b2b2cc302421b58151e0ab968a3cc737 (patch)
tree8575ae60fdade4a930a02a20f4bd70ebc4432070 /libavformat/oggenc.c
parent5313d60dc0f2287f61a900a1f2b9d910eeb2bdbf (diff)
parent9767d7c092c890ecc5953452e8a951fd902dd67b (diff)
downloadffmpeg-b5657516b2b2cc302421b58151e0ab968a3cc737.tar.gz
Merge commit '9767d7c092c890ecc5953452e8a951fd902dd67b'
* commit '9767d7c092c890ecc5953452e8a951fd902dd67b': oggenc: Flush after writing headers Conflicts: tests/ref/lavf/ogg Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggenc.c')
-rw-r--r--libavformat/oggenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 73bc0198b7..9ce3169721 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -550,6 +550,8 @@ static int ogg_write_header(AVFormatContext *s)
oggstream->page.start_granule = AV_NOPTS_VALUE;
+ ogg_write_pages(s, 1);
+
return 0;
}