diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-28 02:57:49 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-28 03:00:10 +0400 |
commit | b5657516b2b2cc302421b58151e0ab968a3cc737 (patch) | |
tree | 8575ae60fdade4a930a02a20f4bd70ebc4432070 /libavformat/oggenc.c | |
parent | 5313d60dc0f2287f61a900a1f2b9d910eeb2bdbf (diff) | |
parent | 9767d7c092c890ecc5953452e8a951fd902dd67b (diff) |
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.c | 2 |
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; } |