mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
fix Ogg/FLAC header size
Originally committed as revision 12626 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f3eec1cf52
commit
6e330816d4
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue