Mercurial > libavformat.hg
changeset 3188:87119f0c4736 libavformat
fix Ogg/FLAC header size
author | jbr |
---|---|
date | Sun, 30 Mar 2008 03:40:03 +0000 |
parents | 5c8fc77cf10a |
children | f016d69a28b6 |
files | oggenc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/oggenc.c Fri Mar 28 16:30:22 2008 +0000 +++ b/oggenc.c Sun Mar 30 03:40:03 2008 +0000 @@ -88,8 +88,8 @@ uint8_t *p; if (extradata_size != 34) return -1; - oggstream->header_len[0] = 79; - oggstream->header[0] = av_mallocz(79); // per ogg flac specs + oggstream->header_len[0] = 51; + oggstream->header[0] = av_mallocz(51); // per ogg flac specs p = oggstream->header[0]; bytestream_put_byte(&p, 0x7F); bytestream_put_buffer(&p, "FLAC", 4);