diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-03-30 03:40:03 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-03-30 03:40:03 +0000 |
commit | 6e330816d45006d4c1a322b25c2022d1a93c390f (patch) | |
tree | 996c70025f17a1cce8e2a9c3e89e30f287528de4 /libavformat | |
parent | f3eec1cf526a59805ccf85af3c44cd81fcff0520 (diff) | |
download | ffmpeg-6e330816d45006d4c1a322b25c2022d1a93c390f.tar.gz |
fix Ogg/FLAC header size
Originally committed as revision 12626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/oggenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index af2c5de122..16b6b22255 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -88,8 +88,8 @@ static int ogg_build_flac_headers(const uint8_t *extradata, int extradata_size, 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); |